(This page was automatically generated by the tools in the opsboy project on 20:40:31 04-Nov-2016 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
aafd50b2 2016-10-29 23:13:18 GMT 14409 38 94 7555 1299 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==19037== Invalid read of size 8
==19037== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9090 is 32 bytes inside a block of size 96 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19037== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9250 is 96 bytes inside a block of size 104 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19037== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9340 is 80 bytes inside a block of size 368 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19037== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19037== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9370 is 128 bytes inside a block of size 368 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19037== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<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 ==19037== Invalid read of size 8
==19037== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9078 is 8 bytes inside a block of size 96 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19037== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f9078 is 8 bytes inside a block of size 96 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19037== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<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 ==19037== Invalid read of size 8
==19037== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8ef0 is 0 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<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 ==19037== Invalid read of size 8
==19037== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8f00 is 16 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8ef0 is 0 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8ef0 is 0 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8f20 is 48 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8f08 is 24 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8ef8 is 8 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8ef8 is 8 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19037== Invalid read of size 8
==19037== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19037== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19037== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19037== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Address 0x83f8f38 is 72 bytes inside a block of size 80 free'd
==19037== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19037== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19037== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19037== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19037== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19037== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19037== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19037== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19037== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19037== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19037== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19037== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037== Block was alloc'd at
==19037== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19037== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19037== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19037== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19037== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19037== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19037== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19037== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19037== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19037== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19037== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==19037== by 0x41B71D: main (nginx.c:367)
==19037==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b3b0 is 32 bytes inside a block of size 96 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19046== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b570 is 96 bytes inside a block of size 104 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19046== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b660 is 80 bytes inside a block of size 368 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19046== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19046== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877d5a0 is 32 bytes inside a block of size 672 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x41D445: ngx_list_init (ngx_list.h:39)
==19046== by 0x41D445: ngx_list_create (ngx_list.c:22)
==19046== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==19046== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==19046== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==19046== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==19046== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==19046== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<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 ==19046== Invalid read of size 8
==19046== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b398 is 8 bytes inside a block of size 96 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19046== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b398 is 8 bytes inside a block of size 96 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19046== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<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 ==19046== Invalid read of size 8
==19046== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b210 is 0 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<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 ==19046== Invalid read of size 8
==19046== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b220 is 16 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b210 is 0 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b210 is 0 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b240 is 48 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b228 is 24 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b218 is 8 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b218 is 8 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19046== Invalid read of size 8
==19046== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19046== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19046== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19046== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Address 0x877b258 is 72 bytes inside a block of size 80 free'd
==19046== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19046== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19046== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19046== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19046== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19046== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19046== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19046== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19046== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19046== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19046== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19046== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046== Block was alloc'd at
==19046== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19046== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19046== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19046== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19046== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19046== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19046== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19046== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19046== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19046== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19046== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19046== by 0x41B71D: main (nginx.c:367)
==19046==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa8d0 is 32 bytes inside a block of size 96 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19066== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87faa90 is 96 bytes inside a block of size 104 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19066== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fab80 is 80 bytes inside a block of size 368 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19066== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19066== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fabb0 is 128 bytes inside a block of size 368 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19066== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<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 ==19066== Invalid read of size 8
==19066== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa8b8 is 8 bytes inside a block of size 96 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19066== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa8b8 is 8 bytes inside a block of size 96 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19066== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<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 ==19066== Invalid read of size 8
==19066== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa730 is 0 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<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 ==19066== Invalid read of size 8
==19066== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa740 is 16 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa730 is 0 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa730 is 0 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa760 is 48 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa748 is 24 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa738 is 8 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa738 is 8 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19066== Invalid read of size 8
==19066== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19066== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19066== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19066== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Address 0x87fa778 is 72 bytes inside a block of size 80 free'd
==19066== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19066== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19066== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19066== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19066== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19066== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19066== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19066== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19066== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19066== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19066== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19066== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066== Block was alloc'd at
==19066== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19066== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19066== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19066== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19066== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19066== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19066== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19066== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19066== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19066== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19066== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19066== by 0x41B71D: main (nginx.c:367)
==19066==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024b10 is 32 bytes inside a block of size 96 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19146== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024c90 is 96 bytes inside a block of size 104 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19146== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024d80 is 80 bytes inside a block of size 368 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19146== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19146== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x80cfdc8 is 200 bytes inside a block of size 672 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x41D445: ngx_list_init (ngx_list.h:39)
==19146== by 0x41D445: ngx_list_create (ngx_list.c:22)
==19146== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==19146== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==19146== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==19146== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==19146== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==19146== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<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 ==19146== Invalid read of size 8
==19146== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024af8 is 8 bytes inside a block of size 96 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19146== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024af8 is 8 bytes inside a block of size 96 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19146== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<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 ==19146== Invalid read of size 8
==19146== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024970 is 0 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<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 ==19146== Invalid read of size 8
==19146== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024980 is 16 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024970 is 0 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024970 is 0 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x80249a0 is 48 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024988 is 24 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024978 is 8 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x8024978 is 8 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19146== Invalid read of size 8
==19146== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19146== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19146== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19146== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Address 0x80249b8 is 72 bytes inside a block of size 80 free'd
==19146== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19146== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19146== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19146== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19146== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19146== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19146== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19146== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19146== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19146== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19146== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19146== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146== Block was alloc'd at
==19146== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19146== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19146== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19146== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19146== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19146== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19146== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19146== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19146== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19146== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19146== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19146== by 0x41B71D: main (nginx.c:367)
==19146==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dd40 is 32 bytes inside a block of size 96 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19166== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dec0 is 96 bytes inside a block of size 104 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19166== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dfb0 is 80 bytes inside a block of size 368 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19166== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19166== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dfe0 is 128 bytes inside a block of size 368 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19166== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<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 ==19166== Invalid read of size 8
==19166== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dd28 is 8 bytes inside a block of size 96 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19166== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dd28 is 8 bytes inside a block of size 96 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19166== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<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 ==19166== Invalid read of size 8
==19166== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dba0 is 0 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<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 ==19166== Invalid read of size 8
==19166== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dbb0 is 16 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dba0 is 0 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dba0 is 0 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dbd0 is 48 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dbb8 is 24 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dba8 is 8 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dba8 is 8 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19166== Invalid read of size 8
==19166== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19166== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19166== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19166== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Address 0x841dbe8 is 72 bytes inside a block of size 80 free'd
==19166== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19166== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19166== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19166== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19166== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19166== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19166== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19166== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19166== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19166== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19166== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19166== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166== Block was alloc'd at
==19166== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19166== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19166== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19166== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19166== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19166== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19166== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19166== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19166== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19166== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19166== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19166== by 0x41B71D: main (nginx.c:367)
==19166==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac1f0 is 32 bytes inside a block of size 96 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19210== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac370 is 96 bytes inside a block of size 104 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19210== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac460 is 80 bytes inside a block of size 368 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19210== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19210== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x878bf60 is 32 bytes inside a block of size 672 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x41D445: ngx_list_init (ngx_list.h:39)
==19210== by 0x41D445: ngx_list_create (ngx_list.c:22)
==19210== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==19210== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==19210== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==19210== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==19210== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==19210== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<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 ==19210== Invalid read of size 8
==19210== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac1d8 is 8 bytes inside a block of size 96 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19210== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac1d8 is 8 bytes inside a block of size 96 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19210== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<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 ==19210== Invalid read of size 8
==19210== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac050 is 0 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<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 ==19210== Invalid read of size 8
==19210== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac060 is 16 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac050 is 0 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac050 is 0 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac080 is 48 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac068 is 24 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac058 is 8 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac058 is 8 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19210== Invalid read of size 8
==19210== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19210== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19210== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19210== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Address 0x87ac098 is 72 bytes inside a block of size 80 free'd
==19210== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19210== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19210== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19210== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19210== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19210== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19210== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19210== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19210== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19210== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19210== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19210== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210== Block was alloc'd at
==19210== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19210== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19210== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19210== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19210== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19210== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19210== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19210== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19210== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19210== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19210== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19210== by 0x41B71D: main (nginx.c:367)
==19210==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb920 is 32 bytes inside a block of size 96 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19250== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8e9d860 is 96 bytes inside a block of size 104 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19250== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8e9d950 is 80 bytes inside a block of size 368 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19250== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19250== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8e9d980 is 128 bytes inside a block of size 368 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19250== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<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 ==19250== Invalid read of size 8
==19250== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb908 is 8 bytes inside a block of size 96 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19250== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb908 is 8 bytes inside a block of size 96 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19250== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<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 ==19250== Invalid read of size 8
==19250== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb780 is 0 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<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 ==19250== Invalid read of size 8
==19250== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb790 is 16 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb780 is 0 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb780 is 0 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb7b0 is 48 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb798 is 24 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb788 is 8 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb788 is 8 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19250== Invalid read of size 8
==19250== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19250== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19250== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19250== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Address 0x8bcb7c8 is 72 bytes inside a block of size 80 free'd
==19250== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19250== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19250== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19250== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19250== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19250== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19250== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19250== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19250== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19250== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19250== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19250== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250== Block was alloc'd at
==19250== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19250== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19250== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19250== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19250== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19250== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19250== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19250== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19250== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19250== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19250== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19250== by 0x41B71D: main (nginx.c:367)
==19250==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3ee0 is 32 bytes inside a block of size 96 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19270== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x91f8e20 is 96 bytes inside a block of size 104 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19270== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x91f8f10 is 80 bytes inside a block of size 368 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19270== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19270== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x91f8f40 is 128 bytes inside a block of size 368 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19270== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<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 ==19270== Invalid read of size 8
==19270== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3ec8 is 8 bytes inside a block of size 96 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19270== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3ec8 is 8 bytes inside a block of size 96 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19270== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<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 ==19270== Invalid read of size 8
==19270== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d40 is 0 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<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 ==19270== Invalid read of size 8
==19270== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d50 is 16 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d40 is 0 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d40 is 0 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d70 is 48 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d58 is 24 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d48 is 8 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d48 is 8 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19270== Invalid read of size 8
==19270== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19270== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19270== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19270== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Address 0x8fd3d88 is 72 bytes inside a block of size 80 free'd
==19270== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19270== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19270== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19270== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19270== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19270== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19270== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19270== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19270== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19270== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19270== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19270== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270== Block was alloc'd at
==19270== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19270== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19270== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19270== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19270== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19270== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19270== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19270== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19270== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19270== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19270== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19270== by 0x41B71D: main (nginx.c:367)
==19270==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9553020 is 32 bytes inside a block of size 96 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19290== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x95531a0 is 96 bytes inside a block of size 104 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19290== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9553290 is 80 bytes inside a block of size 368 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19290== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19290== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x95532c0 is 128 bytes inside a block of size 368 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19290== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<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 ==19290== Invalid read of size 8
==19290== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9553008 is 8 bytes inside a block of size 96 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19290== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9553008 is 8 bytes inside a block of size 96 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19290== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<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 ==19290== Invalid read of size 8
==19290== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e80 is 0 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<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 ==19290== Invalid read of size 8
==19290== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e90 is 16 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e80 is 0 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e80 is 0 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552eb0 is 48 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e98 is 24 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e88 is 8 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552e88 is 8 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19290== Invalid read of size 8
==19290== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19290== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19290== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19290== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Address 0x9552ec8 is 72 bytes inside a block of size 80 free'd
==19290== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19290== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19290== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19290== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19290== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19290== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19290== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19290== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19290== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19290== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19290== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19290== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290== Block was alloc'd at
==19290== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19290== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19290== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19290== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19290== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19290== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19290== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19290== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19290== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19290== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19290== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19290== by 0x41B71D: main (nginx.c:367)
==19290==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x87995f0 is 32 bytes inside a block of size 96 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x87b2bb0 is 96 bytes inside a block of size 104 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19364== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8425800 is 80 bytes inside a block of size 368 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19364== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19364== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8425830 is 128 bytes inside a block of size 368 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19364== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<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 ==19364== Invalid read of size 8
==19364== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x87995d8 is 8 bytes inside a block of size 96 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x87995d8 is 8 bytes inside a block of size 96 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<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 ==19364== Invalid read of size 8
==19364== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772a90 is 0 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<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 ==19364== Invalid read of size 8
==19364== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772aa0 is 16 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772a90 is 0 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772a90 is 0 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772ac0 is 48 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772aa8 is 24 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772a98 is 8 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772a98 is 8 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19364== Invalid read of size 8
==19364== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19364== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19364== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19364== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Address 0x8772ad8 is 72 bytes inside a block of size 80 free'd
==19364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19364== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19364== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19364== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19364== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19364== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19364== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364== Block was alloc'd at
==19364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19364== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19364== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19364== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19364== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19364== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19364== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19364== by 0x41B71D: main (nginx.c:367)
==19364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x8e799b0 is 32 bytes inside a block of size 96 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19384== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87fc2a0 is 96 bytes inside a block of size 104 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19384== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87fd590 is 80 bytes inside a block of size 368 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19384== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19384== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87fd5c0 is 128 bytes inside a block of size 368 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19384== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<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 ==19384== Invalid read of size 8
==19384== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x8e79998 is 8 bytes inside a block of size 96 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19384== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x8e79998 is 8 bytes inside a block of size 96 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19384== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<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 ==19384== Invalid read of size 8
==19384== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6100 is 0 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<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 ==19384== Invalid read of size 8
==19384== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6110 is 16 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6100 is 0 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6100 is 0 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6130 is 48 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6118 is 24 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6108 is 8 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6108 is 8 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19384== Invalid read of size 8
==19384== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19384== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19384== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19384== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Address 0x87c6148 is 72 bytes inside a block of size 80 free'd
==19384== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19384== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19384== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19384== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19384== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19384== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19384== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19384== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19384== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19384== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19384== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19384== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384== Block was alloc'd at
==19384== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19384== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19384== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19384== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19384== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19384== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19384== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19384== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19384== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19384== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19384== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19384== by 0x41B71D: main (nginx.c:367)
==19384==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8e84de0 is 32 bytes inside a block of size 96 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19424== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x954b240 is 96 bytes inside a block of size 104 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19424== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x97fc0d0 is 80 bytes inside a block of size 368 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19424== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19424== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x97fc100 is 128 bytes inside a block of size 368 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19424== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<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 ==19424== Invalid read of size 8
==19424== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8e84dc8 is 8 bytes inside a block of size 96 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19424== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8e84dc8 is 8 bytes inside a block of size 96 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19424== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<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 ==19424== Invalid read of size 8
==19424== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed840 is 0 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<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 ==19424== Invalid read of size 8
==19424== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed850 is 16 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed840 is 0 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed840 is 0 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed870 is 48 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed858 is 24 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed848 is 8 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed848 is 8 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19424== Invalid read of size 8
==19424== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19424== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19424== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19424== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Address 0x8bed888 is 72 bytes inside a block of size 80 free'd
==19424== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19424== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19424== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19424== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19424== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19424== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19424== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19424== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19424== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19424== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19424== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19424== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424== Block was alloc'd at
==19424== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19424== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19424== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19424== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19424== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19424== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19424== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19424== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19424== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19424== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19424== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19424== by 0x41B71D: main (nginx.c:367)
==19424==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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
}
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 00:08:47 [error] 19576\#0: *146 connect() failed (111: Connection refused) while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8840 is 32 bytes inside a block of size 96 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8960 is 96 bytes inside a block of size 104 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19686== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8a00 is 80 bytes inside a block of size 368 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19686== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19686== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8a30 is 128 bytes inside a block of size 368 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19686== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8828 is 8 bytes inside a block of size 96 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8828 is 8 bytes inside a block of size 96 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8740 is 0 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8750 is 16 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8740 is 0 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8740 is 0 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8770 is 48 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8758 is 24 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8748 is 8 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8748 is 8 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 9: simple user thread wait without I/O (in a user coroutine) ==19686== Invalid read of size 8
==19686== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19686== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19686== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19686== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Address 0x8af8788 is 72 bytes inside a block of size 80 free'd
==19686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19686== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19686== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19686== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19686== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19686== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19686== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686== Block was alloc'd at
==19686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19686== by 0x41B71D: main (nginx.c:367)
==19686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025330 is 32 bytes inside a block of size 96 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19766== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x80254b0 is 96 bytes inside a block of size 104 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19766== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x806e630 is 80 bytes inside a block of size 368 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19766== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19766== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x806e660 is 128 bytes inside a block of size 368 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19766== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025318 is 8 bytes inside a block of size 96 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19766== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025318 is 8 bytes inside a block of size 96 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19766== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025190 is 0 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x80251a0 is 16 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025190 is 0 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025190 is 0 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x80251c0 is 48 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x80251a8 is 24 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025198 is 8 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x8025198 is 8 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 5: simple user thread wait without I/O (return multiple values) ==19766== Invalid read of size 8
==19766== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==19766== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19766== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19766== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Address 0x80251d8 is 72 bytes inside a block of size 80 free'd
==19766== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19766== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19766== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19766== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19766== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19766== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19766== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19766== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19766== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19766== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19766== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19766== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766== Block was alloc'd at
==19766== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19766== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19766== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19766== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19766== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==19766== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19766== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19766== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19766== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19766== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19766== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19766== by 0x41B71D: main (nginx.c:367)
==19766==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19786== Invalid read of size 8
==19786== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841ed70 is 32 bytes inside a block of size 96 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19786== Invalid read of size 8
==19786== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841eef0 is 96 bytes inside a block of size 104 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19786== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19786== Invalid read of size 8
==19786== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841efe0 is 80 bytes inside a block of size 368 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19786== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19786== Invalid read of size 8
==19786== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19786== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841f010 is 128 bytes inside a block of size 368 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19786== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<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 ==19786== Invalid read of size 8
==19786== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841ed58 is 8 bytes inside a block of size 96 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_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 ==19786== Invalid read of size 8
==19786== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19786== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Address 0x841ed58 is 8 bytes inside a block of size 96 free'd
==19786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==19786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==19786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==19786== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==19786== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==19786== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19786== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==19786== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==19786== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786== Block was alloc'd at
==19786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==19786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==19786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==19786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==19786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==19786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==19786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==19786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==19786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==19786== by 0x41B71D: main (nginx.c:367)
==19786==
{
<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 ==19786== Invalid read of size 8
==19786== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19786== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19786== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==19786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==19786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==19786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==19786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==19786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==19786== by 0x441CEB: ngx_worker_process_cycle (ngx_proce