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

Detailed Test Report for ngx_stream_lua in linux i386 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
aafd50b2 2016-10-29 23:15:06 GMT 469 30 94 7554 1354 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 1: simple user thread without I/O ==13555== Invalid read of size 4
==13555== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b0659c is 20 bytes inside a block of size 52 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b066c0 is 48 bytes inside a block of size 52 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13555== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b0675c is 44 bytes inside a block of size 200 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13555== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13555== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06774 is 68 bytes inside a block of size 200 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13555== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13555== Invalid read of size 4
==13555== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b0658c is 4 bytes inside a block of size 52 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b0658c is 4 bytes inside a block of size 52 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13555== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06488 is 8 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06480 is 0 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06498 is 24 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b0648c is 12 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06484 is 4 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b06484 is 4 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13555== Invalid read of size 4
==13555== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13555== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13555== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13555== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Address 0x4b064a4 is 36 bytes inside a block of size 40 free'd
==13555== at 0x40285F2: free (vg_replace_malloc.c:530)
==13555== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13555== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13555== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13555== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13555== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13555== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13555== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13555== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13555== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13555== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13555== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555== Block was alloc'd at
==13555== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13555== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13555== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13555== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13555== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13555== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13555== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13555== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13555== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13555== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13555== by 0x80854B6: ngx_master_process_cycle (ngx_process_cycle.c:130)
==13555== by 0x805E940: main (nginx.c:367)
==13555==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebfdc is 20 bytes inside a block of size 52 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cec100 is 48 bytes inside a block of size 52 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13565== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cec19c is 44 bytes inside a block of size 200 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13565== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13565== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cec1b4 is 68 bytes inside a block of size 200 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13565== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13565== Invalid read of size 4
==13565== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebfcc is 4 bytes inside a block of size 52 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebfcc is 4 bytes inside a block of size 52 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13565== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec8 is 8 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec0 is 0 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebed8 is 24 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebecc is 12 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec4 is 4 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebec4 is 4 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13565== Invalid read of size 4
==13565== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13565== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13565== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13565== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Address 0x4cebee4 is 36 bytes inside a block of size 40 free'd
==13565== at 0x40285F2: free (vg_replace_malloc.c:530)
==13565== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13565== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13565== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13565== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13565== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13565== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13565== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13565== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13565== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13565== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13565== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565== Block was alloc'd at
==13565== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13565== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13565== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13565== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13565== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13565== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13565== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13565== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13565== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13565== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13565== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13565== by 0x805E940: main (nginx.c:367)
==13565==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf6dc is 20 bytes inside a block of size 52 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf800 is 48 bytes inside a block of size 52 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13584== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf89c is 44 bytes inside a block of size 200 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13584== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13584== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf8b4 is 68 bytes inside a block of size 200 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13584== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13584== Invalid read of size 4
==13584== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf6cc is 4 bytes inside a block of size 52 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf6cc is 4 bytes inside a block of size 52 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13584== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c8 is 8 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c0 is 0 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5d8 is 24 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5cc is 12 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c4 is 4 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5c4 is 4 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13584== Invalid read of size 4
==13584== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13584== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13584== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13584== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Address 0x4ebf5e4 is 36 bytes inside a block of size 40 free'd
==13584== at 0x40285F2: free (vg_replace_malloc.c:530)
==13584== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13584== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13584== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13584== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13584== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13584== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13584== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13584== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13584== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13584== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13584== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584== Block was alloc'd at
==13584== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13584== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13584== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13584== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13584== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13584== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13584== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13584== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13584== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13584== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13584== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13584== by 0x805E940: main (nginx.c:367)
==13584==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x52662ac is 20 bytes inside a block of size 52 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x52663d0 is 48 bytes inside a block of size 52 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13624== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x526646c is 44 bytes inside a block of size 200 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13624== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13624== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266484 is 68 bytes inside a block of size 200 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13624== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13624== Invalid read of size 4
==13624== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x526629c is 4 bytes inside a block of size 52 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x526629c is 4 bytes inside a block of size 52 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13624== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266198 is 8 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266190 is 0 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x52661a8 is 24 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x526619c is 12 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266194 is 4 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x5266194 is 4 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13624== Invalid read of size 4
==13624== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13624== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13624== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13624== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Address 0x52661b4 is 36 bytes inside a block of size 40 free'd
==13624== at 0x40285F2: free (vg_replace_malloc.c:530)
==13624== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13624== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13624== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13624== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13624== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13624== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13624== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13624== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13624== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13624== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13624== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624== Block was alloc'd at
==13624== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13624== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13624== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13624== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13624== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13624== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13624== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13624== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13624== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13624== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13624== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13624== by 0x805E940: main (nginx.c:367)
==13624==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439f8c is 20 bytes inside a block of size 52 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x543a0b0 is 48 bytes inside a block of size 52 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13644== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x543a14c is 44 bytes inside a block of size 200 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13644== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13644== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x543a164 is 68 bytes inside a block of size 200 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13644== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13644== Invalid read of size 4
==13644== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439f7c is 4 bytes inside a block of size 52 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439f7c is 4 bytes inside a block of size 52 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13644== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e78 is 8 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e70 is 0 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e88 is 24 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e7c is 12 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e74 is 4 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e74 is 4 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13644== Invalid read of size 4
==13644== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13644== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13644== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13644== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Address 0x5439e94 is 36 bytes inside a block of size 40 free'd
==13644== at 0x40285F2: free (vg_replace_malloc.c:530)
==13644== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13644== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13644== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13644== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13644== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13644== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13644== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13644== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13644== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13644== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13644== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644== Block was alloc'd at
==13644== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13644== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13644== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13644== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13644== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13644== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13644== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13644== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13644== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13644== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13644== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13644== by 0x805E940: main (nginx.c:367)
==13644==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dbe4 is 20 bytes inside a block of size 52 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dd08 is 48 bytes inside a block of size 52 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13668== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dda4 is 44 bytes inside a block of size 200 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13668== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13668== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560fea8 is 104 bytes inside a block of size 352 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x8060485: ngx_list_init (ngx_list.h:39)
==13668== by 0x8060485: ngx_list_create (ngx_list.c:22)
==13668== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==13668== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==13668== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==13668== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==13668== by 0x4078855: lua_resume (lj_api.c:1142)
==13668== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==13668== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13668== Invalid read of size 4
==13668== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dbd4 is 4 bytes inside a block of size 52 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dbd4 is 4 bytes inside a block of size 52 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13668== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dad0 is 8 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dac8 is 0 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dae0 is 24 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dad4 is 12 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dacc is 4 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560dacc is 4 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13668== Invalid read of size 4
==13668== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13668== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13668== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13668== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Address 0x560daec is 36 bytes inside a block of size 40 free'd
==13668== at 0x40285F2: free (vg_replace_malloc.c:530)
==13668== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13668== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13668== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13668== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13668== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13668== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13668== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13668== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13668== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13668== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13668== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668== Block was alloc'd at
==13668== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13668== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13668== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13668== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13668== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13668== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13668== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13668== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13668== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13668== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13668== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13668== by 0x805E940: main (nginx.c:367)
==13668==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b8844c is 20 bytes inside a block of size 52 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88570 is 48 bytes inside a block of size 52 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13728== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b8860c is 44 bytes inside a block of size 200 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13728== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13728== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88624 is 68 bytes inside a block of size 200 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13728== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13728== Invalid read of size 4
==13728== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b8843c is 4 bytes inside a block of size 52 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b8843c is 4 bytes inside a block of size 52 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13728== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88338 is 8 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88330 is 0 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88348 is 24 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b8833c is 12 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88334 is 4 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88334 is 4 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13728== Invalid read of size 4
==13728== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13728== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13728== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13728== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Address 0x5b88354 is 36 bytes inside a block of size 40 free'd
==13728== at 0x40285F2: free (vg_replace_malloc.c:530)
==13728== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13728== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13728== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13728== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13728== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13728== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13728== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13728== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13728== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13728== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13728== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728== Block was alloc'd at
==13728== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13728== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13728== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13728== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13728== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13728== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13728== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13728== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13728== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13728== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13728== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13728== by 0x805E940: main (nginx.c:367)
==13728==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bd8c is 20 bytes inside a block of size 52 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5beb0 is 48 bytes inside a block of size 52 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13748== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bf4c is 44 bytes inside a block of size 200 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13748== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13748== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bf64 is 68 bytes inside a block of size 200 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13748== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13748== Invalid read of size 4
==13748== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bd7c is 4 bytes inside a block of size 52 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bd7c is 4 bytes inside a block of size 52 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13748== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc78 is 8 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc70 is 0 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc88 is 24 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc7c is 12 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc74 is 4 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc74 is 4 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13748== Invalid read of size 4
==13748== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13748== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13748== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13748== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Address 0x5d5bc94 is 36 bytes inside a block of size 40 free'd
==13748== at 0x40285F2: free (vg_replace_malloc.c:530)
==13748== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13748== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13748== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13748== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13748== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13748== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13748== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13748== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13748== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13748== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13748== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748== Block was alloc'd at
==13748== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13748== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13748== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13748== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13748== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13748== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13748== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13748== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13748== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13748== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13748== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13748== by 0x805E940: main (nginx.c:367)
==13748==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d142dc is 20 bytes inside a block of size 52 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d143d0 is 48 bytes inside a block of size 52 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13848== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d1446c is 44 bytes inside a block of size 200 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13848== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13848== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x50a5f10 is 16 bytes inside a block of size 352 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x8060485: ngx_list_init (ngx_list.h:39)
==13848== by 0x8060485: ngx_list_create (ngx_list.c:22)
==13848== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==13848== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==13848== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==13848== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==13848== by 0x4078855: lua_resume (lj_api.c:1142)
==13848== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==13848== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13848== Invalid read of size 4
==13848== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d142cc is 4 bytes inside a block of size 52 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d142cc is 4 bytes inside a block of size 52 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13848== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c8 is 8 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c0 is 0 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141d8 is 24 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141cc is 12 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c4 is 4 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141c4 is 4 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13848== Invalid read of size 4
==13848== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13848== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13848== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13848== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Address 0x4d141e4 is 36 bytes inside a block of size 40 free'd
==13848== at 0x40285F2: free (vg_replace_malloc.c:530)
==13848== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13848== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13848== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13848== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13848== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13848== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13848== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13848== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13848== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13848== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13848== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848== Block was alloc'd at
==13848== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13848== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13848== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13848== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13848== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13848== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13848== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13848== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13848== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13848== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13848== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13848== by 0x805E940: main (nginx.c:367)
==13848==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4994 is 20 bytes inside a block of size 52 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4a88 is 48 bytes inside a block of size 52 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13868== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4b24 is 44 bytes inside a block of size 200 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13868== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13868== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x527ae18 is 16 bytes inside a block of size 352 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x8060485: ngx_list_init (ngx_list.h:39)
==13868== by 0x8060485: ngx_list_create (ngx_list.c:22)
==13868== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==13868== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==13868== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==13868== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==13868== by 0x4078855: lua_resume (lj_api.c:1142)
==13868== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==13868== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13868== Invalid read of size 4
==13868== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4984 is 4 bytes inside a block of size 52 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4984 is 4 bytes inside a block of size 52 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13868== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4880 is 8 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4878 is 0 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4890 is 24 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed4884 is 12 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed487c is 4 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed487c is 4 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13868== Invalid read of size 4
==13868== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13868== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13868== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13868== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Address 0x4ed489c is 36 bytes inside a block of size 40 free'd
==13868== at 0x40285F2: free (vg_replace_malloc.c:530)
==13868== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13868== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13868== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13868== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13868== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13868== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13868== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13868== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13868== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13868== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13868== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868== Block was alloc'd at
==13868== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13868== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13868== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13868== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13868== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13868== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13868== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13868== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13868== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13868== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13868== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13868== by 0x805E940: main (nginx.c:367)
==13868==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086dac is 20 bytes inside a block of size 52 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086ea0 is 48 bytes inside a block of size 52 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13888== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086f3c is 44 bytes inside a block of size 200 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13888== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13888== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086f54 is 68 bytes inside a block of size 200 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13888== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13888== Invalid read of size 4
==13888== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086d9c is 4 bytes inside a block of size 52 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086d9c is 4 bytes inside a block of size 52 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13888== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c98 is 8 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c90 is 0 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086ca8 is 24 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c9c is 12 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c94 is 4 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086c94 is 4 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13888== Invalid read of size 4
==13888== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13888== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13888== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13888== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Address 0x5086cb4 is 36 bytes inside a block of size 40 free'd
==13888== at 0x40285F2: free (vg_replace_malloc.c:530)
==13888== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13888== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13888== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13888== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13888== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13888== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13888== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13888== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13888== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13888== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13888== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888== Block was alloc'd at
==13888== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13888== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13888== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13888== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13888== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13888== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13888== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13888== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13888== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13888== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13888== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13888== by 0x805E940: main (nginx.c:367)
==13888==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fe24 is 20 bytes inside a block of size 52 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x5462290 is 48 bytes inside a block of size 52 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13928== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x54622f4 is 44 bytes inside a block of size 200 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==13928== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x546230c is 68 bytes inside a block of size 200 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==13928== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==13928== Invalid read of size 4
==13928== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fe14 is 4 bytes inside a block of size 52 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fe14 is 4 bytes inside a block of size 52 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==13928== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd10 is 8 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd08 is 0 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd20 is 24 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd14 is 12 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd0c is 4 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd0c is 4 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_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 ==13928== Invalid read of size 4
==13928== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==13928== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==13928== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==13928== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Address 0x544fd2c is 36 bytes inside a block of size 40 free'd
==13928== at 0x40285F2: free (vg_replace_malloc.c:530)
==13928== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==13928== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==13928== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==13928== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==13928== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==13928== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==13928== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==13928== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==13928== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==13928== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==13928== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928== Block was alloc'd at
==13928== at 0x4029679: malloc (vg_replace_malloc.c:299)
==13928== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==13928== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==13928== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==13928== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==13928== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==13928== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==13928== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==13928== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==13928== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==13928== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==13928== by 0x805E940: main (nginx.c:367)
==13928==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 01:44:06 [error] 13959\#0: *28 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 14: waiting on two simple user threads without I/O, both aborted by errors ==14210== Invalid read of size 4
==14210== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b8d4 is 20 bytes inside a block of size 52 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b9f8 is 48 bytes inside a block of size 52 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14210== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508ba94 is 44 bytes inside a block of size 200 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14210== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==14210== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508baac is 68 bytes inside a block of size 200 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14210== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 ==14210== Invalid read of size 4
==14210== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b8c4 is 4 bytes inside a block of size 52 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b8c4 is 4 bytes inside a block of size 52 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14210== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7c0 is 8 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7b8 is 0 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7d0 is 24 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7c4 is 12 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7bc is 4 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7bc is 4 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 ==14210== Invalid read of size 4
==14210== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==14210== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14210== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14210== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Address 0x508b7dc is 36 bytes inside a block of size 40 free'd
==14210== at 0x40285F2: free (vg_replace_malloc.c:530)
==14210== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14210== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14210== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14210== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14210== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14210== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14210== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14210== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14210== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14210== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14210== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210== Block was alloc'd at
==14210== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14210== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14210== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14210== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14210== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14210== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14210== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14210== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14210== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14210== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14210== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14210== by 0x805E940: main (nginx.c:367)
==14210==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db724 is 20 bytes inside a block of size 52 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db818 is 48 bytes inside a block of size 52 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14290== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db8b4 is 44 bytes inside a block of size 200 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14290== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==14290== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db8cc is 68 bytes inside a block of size 200 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14290== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db714 is 4 bytes inside a block of size 52 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db714 is 4 bytes inside a block of size 52 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14290== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db610 is 8 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db608 is 0 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db620 is 24 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db614 is 12 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db60c is 4 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db60c is 4 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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 21: waiting on a dead coroutine ==14290== Invalid read of size 4
==14290== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==14290== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==14290== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==14290== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Address 0x57db62c is 36 bytes inside a block of size 40 free'd
==14290== at 0x40285F2: free (vg_replace_malloc.c:530)
==14290== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14290== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14290== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14290== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14290== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14290== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14290== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14290== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14290== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14290== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14290== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290== Block was alloc'd at
==14290== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14290== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14290== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14290== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14290== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==14290== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14290== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14290== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14290== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14290== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14290== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14290== by 0x805E940: main (nginx.c:367)
==14290==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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) ==14310== Invalid read of size 4
==14310== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Address 0x58ad754 is 20 bytes inside a block of size 52 free'd
==14310== at 0x40285F2: free (vg_replace_malloc.c:530)
==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Block was alloc'd at
==14310== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14310== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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) ==14310== Invalid read of size 4
==14310== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Address 0x58ad808 is 48 bytes inside a block of size 52 free'd
==14310== at 0x40285F2: free (vg_replace_malloc.c:530)
==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Block was alloc'd at
==14310== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14310== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==14310== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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) ==14310== Invalid read of size 4
==14310== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Address 0x58ad86c is 44 bytes inside a block of size 200 free'd
==14310== at 0x40285F2: free (vg_replace_malloc.c:530)
==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Block was alloc'd at
==14310== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14310== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14310== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_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) ==14310== Invalid read of size 4
==14310== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==14310== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Address 0x58ad884 is 68 bytes inside a block of size 200 free'd
==14310== at 0x40285F2: free (vg_replace_malloc.c:530)
==14310== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==14310== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==14310== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==14310== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==14310== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==14310== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==14310== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==14310== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Block was alloc'd at
==14310== at 0x4029679: malloc (vg_replace_malloc.c:299)
==14310== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==14310== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==14310== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==14310== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==14310== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
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) ==14310== Invalid read of size 4
==14310== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==14310== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==14310== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==14310== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==14310== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==14310== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==14310== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==14310== by 0x8084BAF: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==14310== by 0x8083348: ngx_spawn_process (ngx_process.c:198)
==14310== by 0x8083FAE: ngx_start_worker_processes (ngx_process_cycle.c:358)
==14310== by 0x8085C1F: ngx_master_process_cycle (ngx_process_cycle.c:243)
==14310== by 0x805E940: main (nginx.c:367)
==14310== Address 0x58ad744 is 4 bytes inside a block of size 52 free'd
==14310==