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

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
aafd50b2 2016-10-29 23:15:06 GMT 449 23 94 7564 2575 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498de24 is 20 bytes inside a block of size 52 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23721== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498df48 is 48 bytes inside a block of size 52 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23721== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dfe4 is 44 bytes inside a block of size 200 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23721== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23721== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dffc is 68 bytes inside a block of size 200 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23721== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498de14 is 4 bytes inside a block of size 52 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23721== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498de14 is 4 bytes inside a block of size 52 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23721== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd08 is 0 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd10 is 8 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd08 is 0 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd08 is 0 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd20 is 24 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd14 is 12 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd0c is 4 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd0c is 4 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==23721== Invalid read of size 4
==23721== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23721== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23721== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23721== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Address 0x498dd2c is 36 bytes inside a block of size 40 free'd
==23721== at 0x40285F2: free (vg_replace_malloc.c:530)
==23721== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23721== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23721== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23721== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23721== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23721== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23721== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23721== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23721== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23721== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23721== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721== Block was alloc'd at
==23721== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23721== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23721== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23721== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23721== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23721== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23721== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23721== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23721== by 0x805E931: main (nginx.c:364)
==23721==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dd7c is 20 bytes inside a block of size 52 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23732== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dea0 is 48 bytes inside a block of size 52 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23732== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498df3c is 44 bytes inside a block of size 200 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23732== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23732== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498df54 is 68 bytes inside a block of size 200 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23732== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dd6c is 4 bytes inside a block of size 52 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23732== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dd6c is 4 bytes inside a block of size 52 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23732== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc60 is 0 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc68 is 8 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc60 is 0 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc60 is 0 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc78 is 24 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc6c is 12 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc64 is 4 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc64 is 4 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23732== Invalid read of size 4
==23732== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23732== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23732== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23732== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Address 0x498dc84 is 36 bytes inside a block of size 40 free'd
==23732== at 0x40285F2: free (vg_replace_malloc.c:530)
==23732== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23732== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23732== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23732== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23732== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23732== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23732== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23732== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23732== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23732== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23732== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732== Block was alloc'd at
==23732== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23732== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23732== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23732== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23732== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23732== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23732== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23732== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23732== by 0x805E931: main (nginx.c:364)
==23732==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498df94 is 20 bytes inside a block of size 52 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23754== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498e0b8 is 48 bytes inside a block of size 52 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23754== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498e154 is 44 bytes inside a block of size 200 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23754== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23754== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498e16c is 68 bytes inside a block of size 200 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23754== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498df84 is 4 bytes inside a block of size 52 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23754== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498df84 is 4 bytes inside a block of size 52 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23754== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de78 is 0 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de80 is 8 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de78 is 0 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de78 is 0 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de90 is 24 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de84 is 12 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de7c is 4 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de7c is 4 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==23754== Invalid read of size 4
==23754== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23754== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23754== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23754== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Address 0x498de9c is 36 bytes inside a block of size 40 free'd
==23754== at 0x40285F2: free (vg_replace_malloc.c:530)
==23754== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23754== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23754== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23754== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23754== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23754== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23754== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23754== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23754== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23754== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23754== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754== Block was alloc'd at
==23754== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23754== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23754== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23754== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23754== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23754== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23754== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23754== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23754== by 0x805E931: main (nginx.c:364)
==23754==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e2ec is 20 bytes inside a block of size 52 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23765== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e410 is 48 bytes inside a block of size 52 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23765== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e4ac is 44 bytes inside a block of size 200 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23765== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23765== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e4c4 is 68 bytes inside a block of size 200 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23765== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e2dc is 4 bytes inside a block of size 52 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23765== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e2dc is 4 bytes inside a block of size 52 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23765== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d0 is 0 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d8 is 8 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d0 is 0 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d0 is 0 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1e8 is 24 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1dc is 12 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d4 is 4 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1d4 is 4 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==23765== Invalid read of size 4
==23765== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23765== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23765== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23765== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Address 0x498e1f4 is 36 bytes inside a block of size 40 free'd
==23765== at 0x40285F2: free (vg_replace_malloc.c:530)
==23765== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23765== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23765== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23765== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23765== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23765== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23765== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23765== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23765== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23765== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23765== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765== Block was alloc'd at
==23765== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23765== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23765== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23765== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23765== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23765== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23765== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23765== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23765== by 0x805E931: main (nginx.c:364)
==23765==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dffc is 20 bytes inside a block of size 52 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23776== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498e120 is 48 bytes inside a block of size 52 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23776== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498e1bc is 44 bytes inside a block of size 200 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23776== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23776== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498fc30 is 16 bytes inside a block of size 352 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23776== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23776== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23776== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23776== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23776== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23776== by 0x4078855: lua_resume (lj_api.c:1142)
==23776== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23776== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dfec is 4 bytes inside a block of size 52 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23776== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dfec is 4 bytes inside a block of size 52 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23776== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee0 is 0 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee8 is 8 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee0 is 0 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee0 is 0 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498def8 is 24 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498deec is 12 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee4 is 4 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498dee4 is 4 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==23776== Invalid read of size 4
==23776== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23776== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23776== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23776== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Address 0x498df04 is 36 bytes inside a block of size 40 free'd
==23776== at 0x40285F2: free (vg_replace_malloc.c:530)
==23776== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23776== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23776== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23776== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23776== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23776== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23776== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23776== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23776== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23776== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23776== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776== Block was alloc'd at
==23776== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23776== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23776== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23776== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23776== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23776== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23776== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23776== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23776== by 0x805E931: main (nginx.c:364)
==23776==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e23c is 20 bytes inside a block of size 52 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23787== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e360 is 48 bytes inside a block of size 52 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23787== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e3fc is 44 bytes inside a block of size 200 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23787== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23787== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498ffd8 is 16 bytes inside a block of size 352 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23787== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23787== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23787== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23787== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23787== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23787== by 0x4078855: lua_resume (lj_api.c:1142)
==23787== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23787== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e22c is 4 bytes inside a block of size 52 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23787== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e22c is 4 bytes inside a block of size 52 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23787== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e120 is 0 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e128 is 8 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e120 is 0 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e120 is 0 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e138 is 24 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e12c is 12 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e124 is 4 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e124 is 4 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23787== Invalid read of size 4
==23787== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23787== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23787== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23787== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Address 0x498e144 is 36 bytes inside a block of size 40 free'd
==23787== at 0x40285F2: free (vg_replace_malloc.c:530)
==23787== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23787== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23787== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23787== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23787== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23787== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23787== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23787== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23787== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23787== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23787== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787== Block was alloc'd at
==23787== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23787== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23787== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23787== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23787== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23787== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23787== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23787== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23787== by 0x805E931: main (nginx.c:364)
==23787==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e61c is 20 bytes inside a block of size 52 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23798== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e740 is 48 bytes inside a block of size 52 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23798== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e7dc is 44 bytes inside a block of size 200 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23798== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23798== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x49908e0 is 104 bytes inside a block of size 352 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23798== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23798== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23798== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23798== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23798== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23798== by 0x4078855: lua_resume (lj_api.c:1142)
==23798== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23798== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e60c is 4 bytes inside a block of size 52 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23798== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e60c is 4 bytes inside a block of size 52 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23798== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e500 is 0 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e508 is 8 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e500 is 0 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e500 is 0 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e518 is 24 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e50c is 12 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e504 is 4 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e504 is 4 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==23798== Invalid read of size 4
==23798== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23798== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23798== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23798== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Address 0x498e524 is 36 bytes inside a block of size 40 free'd
==23798== at 0x40285F2: free (vg_replace_malloc.c:530)
==23798== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23798== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23798== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23798== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23798== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23798== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23798== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23798== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23798== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23798== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23798== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798== Block was alloc'd at
==23798== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23798== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23798== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23798== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23798== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23798== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23798== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23798== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23798== by 0x805E931: main (nginx.c:364)
==23798==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e744 is 20 bytes inside a block of size 52 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23834== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e868 is 48 bytes inside a block of size 52 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23834== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e904 is 44 bytes inside a block of size 200 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23834== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23834== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e91c is 68 bytes inside a block of size 200 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23834== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e734 is 4 bytes inside a block of size 52 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23834== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e734 is 4 bytes inside a block of size 52 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23834== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e628 is 0 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e630 is 8 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e628 is 0 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e628 is 0 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e640 is 24 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e634 is 12 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e62c is 4 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e62c is 4 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==23834== Invalid read of size 4
==23834== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23834== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23834== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23834== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Address 0x498e64c is 36 bytes inside a block of size 40 free'd
==23834== at 0x40285F2: free (vg_replace_malloc.c:530)
==23834== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23834== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23834== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23834== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23834== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23834== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23834== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23834== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23834== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23834== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23834== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834== Block was alloc'd at
==23834== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23834== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23834== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23834== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23834== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23834== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23834== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23834== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23834== by 0x805E931: main (nginx.c:364)
==23834==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e104 is 20 bytes inside a block of size 52 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23867== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e228 is 48 bytes inside a block of size 52 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23867== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e2c4 is 44 bytes inside a block of size 200 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23867== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23867== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e2dc is 68 bytes inside a block of size 200 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23867== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e0f4 is 4 bytes inside a block of size 52 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23867== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e0f4 is 4 bytes inside a block of size 52 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23867== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dfe8 is 0 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dff0 is 8 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dfe8 is 0 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dfe8 is 0 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e000 is 24 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dff4 is 12 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dfec is 4 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498dfec is 4 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23867== Invalid read of size 4
==23867== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23867== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23867== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23867== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Address 0x498e00c is 36 bytes inside a block of size 40 free'd
==23867== at 0x40285F2: free (vg_replace_malloc.c:530)
==23867== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23867== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23867== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23867== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23867== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23867== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23867== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23867== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23867== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23867== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23867== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867== Block was alloc'd at
==23867== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23867== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23867== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23867== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23867== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23867== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23867== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23867== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23867== by 0x805E931: main (nginx.c:364)
==23867==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e6c4 is 20 bytes inside a block of size 52 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23889== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e7e8 is 48 bytes inside a block of size 52 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23889== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e884 is 44 bytes inside a block of size 200 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23889== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23889== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e89c is 68 bytes inside a block of size 200 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23889== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e6b4 is 4 bytes inside a block of size 52 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23889== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e6b4 is 4 bytes inside a block of size 52 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23889== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5a8 is 0 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5b0 is 8 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5a8 is 0 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5a8 is 0 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5c0 is 24 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5b4 is 12 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5ac is 4 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5ac is 4 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23889== Invalid read of size 4
==23889== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23889== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23889== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23889== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Address 0x498e5cc is 36 bytes inside a block of size 40 free'd
==23889== at 0x40285F2: free (vg_replace_malloc.c:530)
==23889== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23889== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23889== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23889== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23889== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23889== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23889== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23889== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23889== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23889== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23889== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889== Block was alloc'd at
==23889== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23889== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23889== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23889== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23889== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23889== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23889== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23889== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23889== by 0x805E931: main (nginx.c:364)
==23889==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498decc is 20 bytes inside a block of size 52 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23915== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498dff0 is 48 bytes inside a block of size 52 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23915== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498e08c is 44 bytes inside a block of size 200 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23915== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23915== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498e0a4 is 68 bytes inside a block of size 200 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23915== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498debc is 4 bytes inside a block of size 52 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23915== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498debc is 4 bytes inside a block of size 52 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23915== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb0 is 0 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb8 is 8 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb0 is 0 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb0 is 0 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddc8 is 24 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddbc is 12 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb4 is 4 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddb4 is 4 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==23915== Invalid read of size 4
==23915== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23915== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23915== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23915== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Address 0x498ddd4 is 36 bytes inside a block of size 40 free'd
==23915== at 0x40285F2: free (vg_replace_malloc.c:530)
==23915== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23915== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23915== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23915== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23915== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23915== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23915== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23915== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23915== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23915== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23915== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915== Block was alloc'd at
==23915== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23915== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23915== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23915== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23915== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23915== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23915== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23915== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23915== by 0x805E931: main (nginx.c:364)
==23915==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e2b4 is 20 bytes inside a block of size 52 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23937== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e3d8 is 48 bytes inside a block of size 52 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23937== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e474 is 44 bytes inside a block of size 200 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23937== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23937== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e48c is 68 bytes inside a block of size 200 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23937== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e2a4 is 4 bytes inside a block of size 52 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23937== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e2a4 is 4 bytes inside a block of size 52 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23937== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e198 is 0 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e1a0 is 8 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e198 is 0 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e198 is 0 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e1b0 is 24 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e1a4 is 12 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e19c is 4 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e19c is 4 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==23937== Invalid read of size 4
==23937== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23937== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23937== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23937== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Address 0x498e1bc is 36 bytes inside a block of size 40 free'd
==23937== at 0x40285F2: free (vg_replace_malloc.c:530)
==23937== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23937== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23937== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23937== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23937== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23937== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23937== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23937== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23937== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23937== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23937== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937== Block was alloc'd at
==23937== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23937== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23937== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23937== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23937== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23937== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==23937== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==23937== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23937== by 0x805E931: main (nginx.c:364)
==23937==
{
<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_single_process_cycle
fun:main
}
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:39:59 [error] 24073\#0: *7 connect() failed (111: Connection refused) while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984cdc is 20 bytes inside a block of size 52 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24099== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984e00 is 48 bytes inside a block of size 52 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24099== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984e9c is 44 bytes inside a block of size 200 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24099== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24099== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984eb4 is 68 bytes inside a block of size 200 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24099== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984ccc is 4 bytes inside a block of size 52 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24099== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984ccc is 4 bytes inside a block of size 52 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24099== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc8 is 8 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bd8 is 24 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bcc is 12 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc4 is 4 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984bc4 is 4 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==24099== Invalid read of size 4
==24099== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24099== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24099== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24099== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Address 0x4984be4 is 36 bytes inside a block of size 40 free'd
==24099== at 0x40285F2: free (vg_replace_malloc.c:530)
==24099== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24099== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24099== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24099== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24099== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24099== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24099== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24099== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24099== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24099== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24099== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099== Block was alloc'd at
==24099== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24099== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24099== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24099== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24099== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24099== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24099== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24099== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24099== by 0x805E931: main (nginx.c:364)
==24099==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49842e4 is 20 bytes inside a block of size 52 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24154== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x4984408 is 48 bytes inside a block of size 52 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24154== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49844a4 is 44 bytes inside a block of size 200 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24154== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24154== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49844bc is 68 bytes inside a block of size 200 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24154== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49842d4 is 4 bytes inside a block of size 52 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24154== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49842d4 is 4 bytes inside a block of size 52 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24154== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841c8 is 0 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841d0 is 8 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841c8 is 0 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841c8 is 0 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841e0 is 24 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841d4 is 12 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841cc is 4 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841cc is 4 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==24154== Invalid read of size 4
==24154== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24154== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24154== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24154== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Address 0x49841ec is 36 bytes inside a block of size 40 free'd
==24154== at 0x40285F2: free (vg_replace_malloc.c:530)
==24154== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24154== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24154== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24154== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24154== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24154== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24154== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24154== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24154== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24154== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24154== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154== Block was alloc'd at
==24154== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24154== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24154== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24154== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24154== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24154== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24154== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24154== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24154== by 0x805E931: main (nginx.c:364)
==24154==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984484 is 20 bytes inside a block of size 52 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24176== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x49845a8 is 48 bytes inside a block of size 52 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24176== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984644 is 44 bytes inside a block of size 200 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24176== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24176== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x498465c is 68 bytes inside a block of size 200 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24176== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984474 is 4 bytes inside a block of size 52 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24176== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984474 is 4 bytes inside a block of size 52 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24176== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984368 is 0 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984370 is 8 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984368 is 0 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984368 is 0 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984380 is 24 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x4984374 is 12 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x498436c is 4 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x498436c is 4 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24176== Invalid read of size 4
==24176== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24176== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24176== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24176== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Address 0x498438c is 36 bytes inside a block of size 40 free'd
==24176== at 0x40285F2: free (vg_replace_malloc.c:530)
==24176== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24176== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24176== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24176== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24176== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24176== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24176== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24176== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24176== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24176== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24176== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176== Block was alloc'd at
==24176== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24176== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24176== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24176== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24176== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24176== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24176== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24176== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24176== by 0x805E931: main (nginx.c:364)
==24176==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x498450c is 20 bytes inside a block of size 52 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24198== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x4984630 is 48 bytes inside a block of size 52 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24198== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49846cc is 44 bytes inside a block of size 200 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24198== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24198== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49846e4 is 68 bytes inside a block of size 200 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24198== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49844fc is 4 bytes inside a block of size 52 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24198== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49844fc is 4 bytes inside a block of size 52 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24198== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f0 is 0 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f8 is 8 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f0 is 0 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f0 is 0 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x4984408 is 24 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843fc is 12 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f4 is 4 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x49843f4 is 4 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24198== Invalid read of size 4
==24198== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24198== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24198== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24198== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Address 0x4984414 is 36 bytes inside a block of size 40 free'd
==24198== at 0x40285F2: free (vg_replace_malloc.c:530)
==24198== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24198== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24198== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24198== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24198== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24198== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24198== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24198== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24198== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24198== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24198== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198== Block was alloc'd at
==24198== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24198== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24198== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24198== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24198== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24198== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24198== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24198== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24198== by 0x805E931: main (nginx.c:364)
==24198==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x498441c is 20 bytes inside a block of size 52 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24209== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984540 is 48 bytes inside a block of size 52 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24209== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x49845dc is 44 bytes inside a block of size 200 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24209== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24209== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x49845f4 is 68 bytes inside a block of size 200 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24209== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x498440c is 4 bytes inside a block of size 52 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24209== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x498440c is 4 bytes inside a block of size 52 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24209== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984300 is 0 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984308 is 8 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984300 is 0 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984300 is 0 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984318 is 24 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x498430c is 12 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984304 is 4 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984304 is 4 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==24209== Invalid read of size 4
==24209== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24209== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24209== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24209== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Address 0x4984324 is 36 bytes inside a block of size 40 free'd
==24209== at 0x40285F2: free (vg_replace_malloc.c:530)
==24209== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24209== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24209== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24209== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24209== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24209== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24209== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24209== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24209== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24209== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24209== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209== Block was alloc'd at
==24209== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24209== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24209== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24209== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24209== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24209== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24209== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24209== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24209== by 0x805E931: main (nginx.c:364)
==24209==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==24242== Invalid read of size 4
==24242== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24242== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Address 0x49844a4 is 20 bytes inside a block of size 52 free'd
==24242== at 0x40285F2: free (vg_replace_malloc.c:530)
==24242== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24242== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24242== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24242== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24242== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24242== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24242== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Block was alloc'd at
==24242== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24242== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24242== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24242== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24242== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24242== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==24242== Invalid read of size 4
==24242== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24242== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Address 0x49845c8 is 48 bytes inside a block of size 52 free'd
==24242== at 0x40285F2: free (vg_replace_malloc.c:530)
==24242== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24242== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24242== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24242== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24242== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24242== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24242== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Block was alloc'd at
==24242== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24242== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24242== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24242== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24242== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24242== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==24242== Invalid read of size 4
==24242== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24242== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Address 0x4984664 is 44 bytes inside a block of size 200 free'd
==24242== at 0x40285F2: free (vg_replace_malloc.c:530)
==24242== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24242== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24242== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24242== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24242== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24242== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24242== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Block was alloc'd at
==24242== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24242== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24242== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24242== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24242== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24242== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242==
{
<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_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==24242== Invalid read of size 4
==24242== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24242== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24242== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24242== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24242== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24242== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24242== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24242== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24242== by 0x805E931: main (nginx.c:364)
==24242== Address 0x498467c is 68 bytes inside a block of size 200 free'd
==24242== at 0x40285F2: free (vg_replace_malloc.c:530)
==24242== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24242== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24242== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24242== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24242== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24242== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24242== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24242== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24242== by 0x80DC66D: ngx_stream_init_session (n