(This page was automatically generated by the tools in the opsboy project on 21:45:58 31-Oct-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 (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_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 9: simple user thread wait without I/O (in a user coroutine) ==24242== Invalid read of size 4
==24242== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==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 0x4984494 is 4 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 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984494 is 4 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_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984388 is 0 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984390 is 8 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984388 is 0 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984388 is 0 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x49843a0 is 24 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x4984394 is 12 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x498438c is 4 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x498438c is 4 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24242== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24242== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==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 0x49843ac is 36 bytes inside a block of size 40 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 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==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_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984cdc is 20 bytes inside a block of size 52 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24264== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984e00 is 48 bytes inside a block of size 52 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24264== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984e9c is 44 bytes inside a block of size 200 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24264== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24264== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984eb4 is 68 bytes inside a block of size 200 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24264== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984ccc is 4 bytes inside a block of size 52 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24264== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984ccc is 4 bytes inside a block of size 52 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24264== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc8 is 8 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc0 is 0 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bd8 is 24 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bcc is 12 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc4 is 4 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984bc4 is 4 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 11: waiting on two simple user threads without I/O ==24264== Invalid read of size 4
==24264== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24264== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24264== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24264== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Address 0x4984be4 is 36 bytes inside a block of size 40 free'd
==24264== at 0x40285F2: free (vg_replace_malloc.c:530)
==24264== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24264== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24264== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24264== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24264== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24264== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24264== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24264== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24264== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24264== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24264== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264== Block was alloc'd at
==24264== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24264== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24264== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24264== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24264== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24264== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24264== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24264== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24264== by 0x805E931: main (nginx.c:364)
==24264==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49842f4 is 20 bytes inside a block of size 52 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24330== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x4984418 is 48 bytes inside a block of size 52 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24330== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49844b4 is 44 bytes inside a block of size 200 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24330== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24330== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49844cc is 68 bytes inside a block of size 200 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24330== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49842e4 is 4 bytes inside a block of size 52 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24330== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49842e4 is 4 bytes inside a block of size 52 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24330== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841d8 is 0 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841e0 is 8 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841d8 is 0 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841d8 is 0 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841f0 is 24 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841e4 is 12 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841dc is 4 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841dc is 4 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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 7: simple user thread wait without I/O, throw errors ==24330== Invalid read of size 4
==24330== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24330== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24330== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24330== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Address 0x49841fc is 36 bytes inside a block of size 40 free'd
==24330== at 0x40285F2: free (vg_replace_malloc.c:530)
==24330== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24330== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24330== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24330== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24330== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24330== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24330== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24330== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24330== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24330== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24330== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330== Block was alloc'd at
==24330== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24330== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24330== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24330== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24330== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24330== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24330== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24330== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24330== by 0x805E931: main (nginx.c:364)
==24330==
{
<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
}
099-c-api.t TEST 4: key not found ==24345== Use of uninitialised value of size 4
==24345== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24345== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24345== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24345== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24345== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x4078855: lua_resume (lj_api.c:1142)
==24345== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24345== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24345== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24345== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24345== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24345== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24345== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24345== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24345== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24345== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24345== by 0x805E931: main (nginx.c:364)
==24345==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==24345== Invalid read of size 4
==24345== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24345== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24345== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24345== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24345== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x4078855: lua_resume (lj_api.c:1142)
==24345== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24345== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24345== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24345== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24345== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24345== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24345== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24345== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24345== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24345== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24345== by 0x805E931: main (nginx.c:364)
==24345== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24345==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==24345==
==24345== Process terminating with default action of signal 11 (SIGSEGV)
==24345== Access not within mapped region at address 0x2C
==24345== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24345== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24345== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24345== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24345== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24345== by 0x4078855: lua_resume (lj_api.c:1142)
==24345== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24345== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24345== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24345== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24345== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24345== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24345== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24345== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24345== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24345== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24345== by 0x805E931: main (nginx.c:364)
==24345== If you believe this happened as a result of a stack
==24345== overflow in your program's main thread (unlikely but
==24345== possible), you can try to increase the size of the
==24345== main thread stack using the --main-stacksize= flag.
==24345== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
099-c-api.t TEST 4: key not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
099-c-api.t TEST 4: key not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
099-c-api.t TEST 2: number typed value ==24358== Use of uninitialised value of size 4
==24358== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24358== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24358== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24358== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24358== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x4078855: lua_resume (lj_api.c:1142)
==24358== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24358== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24358== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24358== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24358== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24358== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24358== by 0x805E931: main (nginx.c:364)
==24358==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==24358== Invalid read of size 4
==24358== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24358== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24358== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24358== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24358== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x4078855: lua_resume (lj_api.c:1142)
==24358== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24358== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24358== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24358== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24358== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24358== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24358== by 0x805E931: main (nginx.c:364)
==24358== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==24358==
==24358== Process terminating with default action of signal 11 (SIGSEGV)
==24358== Access not within mapped region at address 0x2C
==24358== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24358== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24358== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24358== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24358== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24358== by 0x4078855: lua_resume (lj_api.c:1142)
==24358== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24358== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24358== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24358== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24358== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24358== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24358== by 0x805E931: main (nginx.c:364)
==24358== If you believe this happened as a result of a stack
==24358== overflow in your program's main thread (unlikely but
==24358== possible), you can try to increase the size of the
==24358== main thread stack using the --main-stacksize= flag.
==24358== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 2: number typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 2: number typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 5: string typed value ==24382== Use of uninitialised value of size 4
==24382== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24382== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24382== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24382== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24382== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x4078855: lua_resume (lj_api.c:1142)
==24382== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24382== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24382== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24382== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24382== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24382== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24382== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24382== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24382== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24382== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24382== by 0x805E931: main (nginx.c:364)
==24382==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==24382== Invalid read of size 4
==24382== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24382== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24382== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24382== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24382== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x4078855: lua_resume (lj_api.c:1142)
==24382== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24382== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24382== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24382== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24382== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24382== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24382== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24382== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24382== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24382== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24382== by 0x805E931: main (nginx.c:364)
==24382== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24382==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==24382==
==24382== Process terminating with default action of signal 11 (SIGSEGV)
==24382== Access not within mapped region at address 0x2C
==24382== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24382== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24382== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24382== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24382== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24382== by 0x4078855: lua_resume (lj_api.c:1142)
==24382== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24382== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24382== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24382== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24382== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24382== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24382== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24382== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24382== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24382== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24382== by 0x805E931: main (nginx.c:364)
==24382== If you believe this happened as a result of a stack
==24382== overflow in your program's main thread (unlikely but
==24382== possible), you can try to increase the size of the
==24382== main thread stack using the --main-stacksize= flag.
==24382== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 5: string typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 5: string typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 3: boolean typed value ==24406== Use of uninitialised value of size 4
==24406== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24406== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24406== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24406== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24406== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x4078855: lua_resume (lj_api.c:1142)
==24406== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24406== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24406== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24406== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24406== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24406== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24406== by 0x805E931: main (nginx.c:364)
==24406==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==24406== Invalid read of size 4
==24406== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24406== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24406== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24406== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24406== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x4078855: lua_resume (lj_api.c:1142)
==24406== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24406== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24406== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24406== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24406== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24406== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24406== by 0x805E931: main (nginx.c:364)
==24406== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==24406==
==24406== Process terminating with default action of signal 11 (SIGSEGV)
==24406== Access not within mapped region at address 0x2C
==24406== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24406== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24406== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24406== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24406== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24406== by 0x4078855: lua_resume (lj_api.c:1142)
==24406== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24406== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24406== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24406== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24406== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24406== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24406== by 0x805E931: main (nginx.c:364)
==24406== If you believe this happened as a result of a stack
==24406== overflow in your program's main thread (unlikely but
==24406== possible), you can try to increase the size of the
==24406== main thread stack using the --main-stacksize= flag.
==24406== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 3: boolean typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 3: boolean typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 6: nil typed value ==24419== Use of uninitialised value of size 4
==24419== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24419== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24419== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24419== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24419== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x4078855: lua_resume (lj_api.c:1142)
==24419== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24419== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24419== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24419== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24419== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24419== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24419== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24419== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24419== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24419== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24419== by 0x805E931: main (nginx.c:364)
==24419==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==24419== Invalid read of size 4
==24419== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24419== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24419== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24419== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24419== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x4078855: lua_resume (lj_api.c:1142)
==24419== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24419== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24419== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24419== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24419== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24419== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24419== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24419== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24419== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24419== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24419== by 0x805E931: main (nginx.c:364)
==24419== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24419==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==24419==
==24419== Process terminating with default action of signal 11 (SIGSEGV)
==24419== Access not within mapped region at address 0x2C
==24419== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24419== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24419== by 0x4063ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x40B8826: lj_ccall_func (lj_ccall.c:1136)
==24419== by 0x40D0CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24419== by 0x4061F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24419== by 0x4078855: lua_resume (lj_api.c:1142)
==24419== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24419== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24419== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24419== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24419== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24419== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24419== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24419== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==24419== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==24419== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24419== by 0x805E931: main (nginx.c:364)
==24419== If you believe this happened as a result of a stack
==24419== overflow in your program's main thread (unlikely but
==24419== possible), you can try to increase the size of the
==24419== main thread stack using the --main-stacksize= flag.
==24419== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'foo: rc=-5
'
099-c-api.t TEST 6: nil typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'foo: rc=-5
'
099-c-api.t TEST 6: nil typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 2, req 0) got: ''
expected: 'foo: rc=-5
'
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb214 is 20 bytes inside a block of size 52 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24774== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb2d0 is 48 bytes inside a block of size 52 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==24774== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb36c is 44 bytes inside a block of size 200 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24774== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24774== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb384 is 68 bytes inside a block of size 200 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24774== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb204 is 4 bytes inside a block of size 52 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24774== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb204 is 4 bytes inside a block of size 52 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24774== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb170 is 0 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb178 is 8 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb170 is 0 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb170 is 0 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb188 is 24 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb17c is 12 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb174 is 4 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb174 is 4 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==24774== Invalid read of size 4
==24774== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24774== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Address 0x49bb194 is 36 bytes inside a block of size 40 free'd
==24774== at 0x40285F2: free (vg_replace_malloc.c:530)
==24774== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24774== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24774== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24774== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24774== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24774== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24774== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774== Block was alloc'd at
==24774== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24774== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24774== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24774== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24774== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24774== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24774== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24774== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24774== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24774== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24774== by 0x805E931: main (nginx.c:364)
==24774==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba5ac is 20 bytes inside a block of size 52 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25127== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba668 is 48 bytes inside a block of size 52 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==25127== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba704 is 44 bytes inside a block of size 200 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==25127== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==25127== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba71c is 68 bytes inside a block of size 200 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==25127== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba59c is 4 bytes inside a block of size 52 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25127== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba59c is 4 bytes inside a block of size 52 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25127== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba508 is 0 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba510 is 8 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba508 is 0 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba508 is 0 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba520 is 24 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba514 is 12 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba50c is 4 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba50c is 4 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==25127== Invalid read of size 4
==25127== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==25127== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Address 0x49ba52c is 36 bytes inside a block of size 40 free'd
==25127== at 0x40285F2: free (vg_replace_malloc.c:530)
==25127== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25127== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25127== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25127== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25127== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25127== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25127== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127== Block was alloc'd at
==25127== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25127== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25127== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25127== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25127== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25127== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25127== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25127== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25127== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25127== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25127== by 0x805E931: main (nginx.c:364)
==25127==
{
<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_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996a5c is 20 bytes inside a block of size 52 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996b80 is 48 bytes inside a block of size 52 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26400== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996c1c is 44 bytes inside a block of size 200 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26400== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26400== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996c34 is 68 bytes inside a block of size 200 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26400== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996a4c is 4 bytes inside a block of size 52 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996a4c is 4 bytes inside a block of size 52 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26400== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996940 is 0 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996948 is 8 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996940 is 0 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996940 is 0 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996958 is 24 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x499694c is 12 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996944 is 4 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996944 is 4 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 3: kill pending resolver ==26400== Invalid read of size 4
==26400== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26400== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26400== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26400== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Address 0x4996964 is 36 bytes inside a block of size 40 free'd
==26400== at 0x40285F2: free (vg_replace_malloc.c:530)
==26400== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26400== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26400== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26400== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26400== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26400== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400== Block was alloc'd at
==26400== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26400== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26400== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26400== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26400== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26400== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26400== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26400== by 0x805E931: main (nginx.c:364)
==26400==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x498456c is 20 bytes inside a block of size 52 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26411== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984690 is 48 bytes inside a block of size 52 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26411== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x498472c is 44 bytes inside a block of size 200 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26411== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26411== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984744 is 68 bytes inside a block of size 200 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26411== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x498455c is 4 bytes inside a block of size 52 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26411== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x498455c is 4 bytes inside a block of size 52 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26411== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984450 is 0 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984458 is 8 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984450 is 0 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984450 is 0 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984468 is 24 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x498445c is 12 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984454 is 4 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984454 is 4 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 6: kill self ==26411== Invalid read of size 4
==26411== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26411== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26411== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26411== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Address 0x4984474 is 36 bytes inside a block of size 40 free'd
==26411== at 0x40285F2: free (vg_replace_malloc.c:530)
==26411== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26411== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26411== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26411== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26411== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26411== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26411== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26411== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26411== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26411== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26411== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411== Block was alloc'd at
==26411== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26411== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26411== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26411== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26411== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26411== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26411== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26411== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26411== by 0x805E931: main (nginx.c:364)
==26411==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x498451c is 20 bytes inside a block of size 52 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26422== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984640 is 48 bytes inside a block of size 52 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26422== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x49846dc is 44 bytes inside a block of size 200 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26422== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26422== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x49846f4 is 68 bytes inside a block of size 200 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26422== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x498450c is 4 bytes inside a block of size 52 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26422== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x498450c is 4 bytes inside a block of size 52 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26422== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984400 is 0 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984408 is 8 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984400 is 0 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984400 is 0 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984418 is 24 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x498440c is 12 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984404 is 4 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984404 is 4 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 1: kill pending sleep ==26422== Invalid read of size 4
==26422== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26422== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26422== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26422== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Address 0x4984424 is 36 bytes inside a block of size 40 free'd
==26422== at 0x40285F2: free (vg_replace_malloc.c:530)
==26422== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26422== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26422== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26422== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26422== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26422== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26422== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26422== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26422== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26422== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26422== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422== Block was alloc'd at
==26422== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26422== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26422== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26422== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26422== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26422== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26422== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26422== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26422== by 0x805E931: main (nginx.c:364)
==26422==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49841fc is 20 bytes inside a block of size 52 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26444== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x4984320 is 48 bytes inside a block of size 52 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26444== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49843bc is 44 bytes inside a block of size 200 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26444== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26444== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49843d4 is 68 bytes inside a block of size 200 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26444== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49841ec is 4 bytes inside a block of size 52 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26444== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49841ec is 4 bytes inside a block of size 52 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26444== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e0 is 0 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e8 is 8 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e0 is 0 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e0 is 0 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840f8 is 24 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840ec is 12 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e4 is 4 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x49840e4 is 4 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26444== Invalid read of size 4
==26444== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26444== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26444== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26444== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Address 0x4984104 is 36 bytes inside a block of size 40 free'd
==26444== at 0x40285F2: free (vg_replace_malloc.c:530)
==26444== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26444== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26444== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26444== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26444== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26444== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26444== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26444== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26444== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26444== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26444== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444== Block was alloc'd at
==26444== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26444== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26444== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26444== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26444== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26444== by 0x8086E58: ngx_epoll_process_events (ngx_epoll_module.c:900)
==26444== by 0x807CD00: ngx_process_events_and_timers (ngx_event.c:242)
==26444== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26444== by 0x805E931: main (nginx.c:364)
==26444==
{
<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
}
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 0, req 0) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 1, req 0) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'

Expected Failures

File Name Details
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8187 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8181 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22

Warnings

Go back to the index page.