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

Summary

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

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991c6c is 20 bytes inside a block of size 52 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23764== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991d90 is 48 bytes inside a block of size 52 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23764== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991e2c is 44 bytes inside a block of size 200 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23764== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23764== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991e44 is 68 bytes inside a block of size 200 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23764== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991c5c is 4 bytes inside a block of size 52 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23764== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991c5c is 4 bytes inside a block of size 52 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23764== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b50 is 0 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b58 is 8 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b50 is 0 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b50 is 0 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b68 is 24 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b5c is 12 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b54 is 4 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b54 is 4 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==23764== Invalid read of size 4
==23764== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23764== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23764== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23764== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Address 0x4991b74 is 36 bytes inside a block of size 40 free'd
==23764== at 0x40285F2: free (vg_replace_malloc.c:530)
==23764== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23764== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23764== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23764== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23764== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23764== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23764== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23764== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23764== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23764== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23764== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764== Block was alloc'd at
==23764== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23764== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23764== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23764== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23764== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23764== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23764== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23764== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23764== by 0x805E931: main (nginx.c:364)
==23764==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ff4 is 20 bytes inside a block of size 52 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23775== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4992118 is 48 bytes inside a block of size 52 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23775== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x49921b4 is 44 bytes inside a block of size 200 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23775== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23775== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x49921cc is 68 bytes inside a block of size 200 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23775== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991fe4 is 4 bytes inside a block of size 52 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23775== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991fe4 is 4 bytes inside a block of size 52 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23775== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ed8 is 0 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ee0 is 8 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ed8 is 0 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ed8 is 0 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ef0 is 24 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991ee4 is 12 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991edc is 4 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991edc is 4 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==23775== Invalid read of size 4
==23775== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23775== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23775== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23775== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Address 0x4991efc is 36 bytes inside a block of size 40 free'd
==23775== at 0x40285F2: free (vg_replace_malloc.c:530)
==23775== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23775== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23775== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23775== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23775== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23775== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23775== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23775== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23775== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23775== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23775== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775== Block was alloc'd at
==23775== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23775== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23775== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23775== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23775== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23775== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23775== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23775== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23775== by 0x805E931: main (nginx.c:364)
==23775==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x49921a4 is 20 bytes inside a block of size 52 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23797== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x49922c8 is 48 bytes inside a block of size 52 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23797== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992364 is 44 bytes inside a block of size 200 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23797== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23797== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x499237c is 68 bytes inside a block of size 200 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23797== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992194 is 4 bytes inside a block of size 52 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23797== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992194 is 4 bytes inside a block of size 52 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23797== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992088 is 0 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<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_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992090 is 8 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992088 is 0 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992088 is 0 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x49920a0 is 24 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x4992094 is 12 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x499208c is 4 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x499208c is 4 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23797== Invalid read of size 4
==23797== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23797== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23797== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23797== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Address 0x49920ac is 36 bytes inside a block of size 40 free'd
==23797== at 0x40285F2: free (vg_replace_malloc.c:530)
==23797== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23797== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23797== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23797== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23797== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23797== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23797== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23797== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23797== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23797== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23797== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797== Block was alloc'd at
==23797== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23797== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23797== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23797== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23797== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23797== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23797== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23797== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23797== by 0x805E931: main (nginx.c:364)
==23797==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991dbc is 20 bytes inside a block of size 52 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23819== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ee0 is 48 bytes inside a block of size 52 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23819== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991f7c is 44 bytes inside a block of size 200 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23819== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23819== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991f94 is 68 bytes inside a block of size 200 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23819== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991dac is 4 bytes inside a block of size 52 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23819== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991dac is 4 bytes inside a block of size 52 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23819== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca0 is 0 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<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_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca8 is 8 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca0 is 0 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca0 is 0 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991cb8 is 24 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991cac is 12 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca4 is 4 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991ca4 is 4 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23819== Invalid read of size 4
==23819== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23819== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23819== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23819== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Address 0x4991cc4 is 36 bytes inside a block of size 40 free'd
==23819== at 0x40285F2: free (vg_replace_malloc.c:530)
==23819== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23819== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23819== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23819== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23819== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23819== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23819== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23819== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23819== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23819== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23819== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819== Block was alloc'd at
==23819== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23819== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23819== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23819== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23819== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23819== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23819== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23819== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23819== by 0x805E931: main (nginx.c:364)
==23819==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x499212c is 20 bytes inside a block of size 52 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23830== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992250 is 48 bytes inside a block of size 52 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23830== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x49922ec is 44 bytes inside a block of size 200 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23830== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23830== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4993ec8 is 16 bytes inside a block of size 352 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23830== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23830== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23830== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23830== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23830== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23830== by 0x407D855: lua_resume (lj_api.c:1142)
==23830== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23830== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x499211c is 4 bytes inside a block of size 52 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23830== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x499211c is 4 bytes inside a block of size 52 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23830== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992010 is 0 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992018 is 8 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992010 is 0 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992010 is 0 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992028 is 24 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x499201c is 12 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992014 is 4 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992014 is 4 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==23830== Invalid read of size 4
==23830== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23830== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23830== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23830== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Address 0x4992034 is 36 bytes inside a block of size 40 free'd
==23830== at 0x40285F2: free (vg_replace_malloc.c:530)
==23830== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23830== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23830== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23830== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23830== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23830== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830== Block was alloc'd at
==23830== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23830== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23830== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23830== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23830== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23830== by 0x805E931: main (nginx.c:364)
==23830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992634 is 20 bytes inside a block of size 52 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23841== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992758 is 48 bytes inside a block of size 52 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23841== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x49927f4 is 44 bytes inside a block of size 200 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23841== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23841== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x499280c is 68 bytes inside a block of size 200 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23841== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992624 is 4 bytes inside a block of size 52 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23841== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992624 is 4 bytes inside a block of size 52 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23841== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992518 is 0 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<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_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992520 is 8 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992518 is 0 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992518 is 0 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992530 is 24 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x4992524 is 12 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x499251c is 4 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x499251c is 4 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23841== Invalid read of size 4
==23841== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23841== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23841== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23841== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Address 0x499253c is 36 bytes inside a block of size 40 free'd
==23841== at 0x40285F2: free (vg_replace_malloc.c:530)
==23841== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23841== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23841== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23841== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23841== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23841== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23841== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23841== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23841== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23841== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23841== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841== Block was alloc'd at
==23841== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23841== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23841== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23841== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23841== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23841== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23841== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23841== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23841== by 0x805E931: main (nginx.c:364)
==23841==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x499250c is 20 bytes inside a block of size 52 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23852== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x4992630 is 48 bytes inside a block of size 52 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23852== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49926cc is 44 bytes inside a block of size 200 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23852== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23852== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49947d0 is 104 bytes inside a block of size 352 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23852== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23852== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23852== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23852== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23852== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23852== by 0x407D855: lua_resume (lj_api.c:1142)
==23852== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23852== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49924fc is 4 bytes inside a block of size 52 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23852== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49924fc is 4 bytes inside a block of size 52 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23852== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f0 is 0 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<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_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f8 is 8 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f0 is 0 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f0 is 0 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x4992408 is 24 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923fc is 12 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f4 is 4 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x49923f4 is 4 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23852== Invalid read of size 4
==23852== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23852== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23852== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23852== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Address 0x4992414 is 36 bytes inside a block of size 40 free'd
==23852== at 0x40285F2: free (vg_replace_malloc.c:530)
==23852== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23852== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23852== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23852== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23852== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23852== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23852== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23852== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23852== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23852== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23852== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852== Block was alloc'd at
==23852== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23852== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23852== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23852== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23852== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23852== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23852== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23852== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23852== by 0x805E931: main (nginx.c:364)
==23852==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991e7c is 20 bytes inside a block of size 52 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23863== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991fa0 is 48 bytes inside a block of size 52 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23863== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x499203c is 44 bytes inside a block of size 200 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23863== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23863== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4992054 is 68 bytes inside a block of size 200 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23863== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991e6c is 4 bytes inside a block of size 52 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23863== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991e6c is 4 bytes inside a block of size 52 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23863== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d60 is 0 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<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_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d68 is 8 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d60 is 0 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d60 is 0 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d78 is 24 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d6c is 12 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d64 is 4 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d64 is 4 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23863== Invalid read of size 4
==23863== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23863== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23863== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23863== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Address 0x4991d84 is 36 bytes inside a block of size 40 free'd
==23863== at 0x40285F2: free (vg_replace_malloc.c:530)
==23863== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23863== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23863== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23863== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23863== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23863== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23863== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23863== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23863== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23863== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23863== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863== Block was alloc'd at
==23863== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23863== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23863== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23863== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23863== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23863== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23863== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23863== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23863== by 0x805E931: main (nginx.c:364)
==23863==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49921dc is 20 bytes inside a block of size 52 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23918== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x4992300 is 48 bytes inside a block of size 52 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23918== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x499239c is 44 bytes inside a block of size 200 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23918== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23918== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49923b4 is 68 bytes inside a block of size 200 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23918== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49921cc is 4 bytes inside a block of size 52 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23918== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49921cc is 4 bytes inside a block of size 52 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23918== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c0 is 0 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<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_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c8 is 8 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c0 is 0 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c0 is 0 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920d8 is 24 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920cc is 12 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c4 is 4 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920c4 is 4 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23918== Invalid read of size 4
==23918== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23918== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23918== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23918== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Address 0x49920e4 is 36 bytes inside a block of size 40 free'd
==23918== at 0x40285F2: free (vg_replace_malloc.c:530)
==23918== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23918== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23918== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23918== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23918== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23918== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23918== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23918== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23918== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23918== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23918== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918== Block was alloc'd at
==23918== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23918== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23918== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23918== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23918== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23918== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23918== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23918== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23918== by 0x805E931: main (nginx.c:364)
==23918==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991d14 is 20 bytes inside a block of size 52 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23940== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991e38 is 48 bytes inside a block of size 52 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23940== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991ed4 is 44 bytes inside a block of size 200 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23940== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23940== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991eec is 68 bytes inside a block of size 200 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23940== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991d04 is 4 bytes inside a block of size 52 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23940== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991d04 is 4 bytes inside a block of size 52 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23940== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991bf8 is 0 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<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_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991c00 is 8 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991bf8 is 0 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991bf8 is 0 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991c10 is 24 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991c04 is 12 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991bfc is 4 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991bfc is 4 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23940== Invalid read of size 4
==23940== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23940== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23940== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23940== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Address 0x4991c1c is 36 bytes inside a block of size 40 free'd
==23940== at 0x40285F2: free (vg_replace_malloc.c:530)
==23940== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23940== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23940== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23940== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23940== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23940== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23940== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23940== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23940== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23940== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23940== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940== Block was alloc'd at
==23940== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23940== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23940== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23940== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23940== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23940== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23940== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23940== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23940== by 0x805E931: main (nginx.c:364)
==23940==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49925b4 is 20 bytes inside a block of size 52 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23951== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49926d8 is 48 bytes inside a block of size 52 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23951== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x4992774 is 44 bytes inside a block of size 200 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23951== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23951== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x499278c is 68 bytes inside a block of size 200 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23951== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49925a4 is 4 bytes inside a block of size 52 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23951== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49925a4 is 4 bytes inside a block of size 52 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23951== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x4992498 is 0 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49924a0 is 8 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x4992498 is 0 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x4992498 is 0 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49924b0 is 24 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49924a4 is 12 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x499249c is 4 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x499249c is 4 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==23951== Invalid read of size 4
==23951== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23951== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23951== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23951== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Address 0x49924bc is 36 bytes inside a block of size 40 free'd
==23951== at 0x40285F2: free (vg_replace_malloc.c:530)
==23951== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23951== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23951== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23951== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23951== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23951== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23951== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23951== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23951== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23951== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23951== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951== Block was alloc'd at
==23951== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23951== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23951== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23951== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23951== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23951== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23951== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23951== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23951== by 0x805E931: main (nginx.c:364)
==23951==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991eec is 20 bytes inside a block of size 52 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23966== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4992010 is 48 bytes inside a block of size 52 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23966== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x49920ac is 44 bytes inside a block of size 200 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23966== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23966== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4993b20 is 16 bytes inside a block of size 352 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x8060485: ngx_list_init (ngx_list.h:39)
==23966== by 0x8060485: ngx_list_create (ngx_list.c:22)
==23966== by 0x813C6D7: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23966== by 0x814886B: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23966== by 0x8147E82: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23966== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23966== by 0x407D855: lua_resume (lj_api.c:1142)
==23966== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23966== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991edc is 4 bytes inside a block of size 52 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23966== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991edc is 4 bytes inside a block of size 52 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==23966== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd0 is 0 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<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_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd8 is 8 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd0 is 0 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd0 is 0 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991de8 is 24 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991ddc is 12 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd4 is 4 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991dd4 is 4 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==23966== Invalid read of size 4
==23966== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==23966== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23966== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23966== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Address 0x4991df4 is 36 bytes inside a block of size 40 free'd
==23966== at 0x40285F2: free (vg_replace_malloc.c:530)
==23966== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==23966== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23966== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23966== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23966== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23966== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23966== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23966== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23966== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==23966== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23966== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966== Block was alloc'd at
==23966== at 0x4029679: malloc (vg_replace_malloc.c:299)
==23966== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==23966== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==23966== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==23966== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==23966== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==23966== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==23966== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23966== by 0x805E931: main (nginx.c:364)
==23966==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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:45:43 [error] 24014\#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 7: simple user thread wait without I/O, throw errors ==24106== Invalid read of size 4
==24106== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987be4 is 20 bytes inside a block of size 52 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987d08 is 48 bytes inside a block of size 52 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24106== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987da4 is 44 bytes inside a block of size 200 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24106== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24106== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987dbc is 68 bytes inside a block of size 200 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24106== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987bd4 is 4 bytes inside a block of size 52 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987bd4 is 4 bytes inside a block of size 52 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24106== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ac8 is 0 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<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_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ad0 is 8 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ac8 is 0 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ac8 is 0 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ae0 is 24 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987ad4 is 12 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987acc is 4 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987acc is 4 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24106== Invalid read of size 4
==24106== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24106== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24106== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24106== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Address 0x4987aec is 36 bytes inside a block of size 40 free'd
==24106== at 0x40285F2: free (vg_replace_malloc.c:530)
==24106== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24106== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24106== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24106== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24106== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24106== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24106== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24106== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24106== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24106== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24106== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106== Block was alloc'd at
==24106== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24106== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24106== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24106== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24106== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24106== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24106== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24106== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24106== by 0x805E931: main (nginx.c:364)
==24106==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987dfc is 20 bytes inside a block of size 52 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24139== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987f20 is 48 bytes inside a block of size 52 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24139== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987fbc is 44 bytes inside a block of size 200 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24139== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24139== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987fd4 is 68 bytes inside a block of size 200 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24139== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987dec is 4 bytes inside a block of size 52 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24139== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987dec is 4 bytes inside a block of size 52 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24139== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce0 is 0 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce8 is 8 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce0 is 0 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce0 is 0 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987cf8 is 24 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987cec is 12 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce4 is 4 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987ce4 is 4 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==24139== Invalid read of size 4
==24139== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24139== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24139== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24139== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Address 0x4987d04 is 36 bytes inside a block of size 40 free'd
==24139== at 0x40285F2: free (vg_replace_malloc.c:530)
==24139== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24139== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24139== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24139== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24139== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24139== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24139== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24139== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24139== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24139== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24139== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139== Block was alloc'd at
==24139== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24139== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24139== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24139== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24139== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24139== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24139== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24139== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24139== by 0x805E931: main (nginx.c:364)
==24139==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49885cc is 20 bytes inside a block of size 52 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24161== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49886f0 is 48 bytes inside a block of size 52 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24161== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x498878c is 44 bytes inside a block of size 200 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24161== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24161== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49887a4 is 68 bytes inside a block of size 200 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24161== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49885bc is 4 bytes inside a block of size 52 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24161== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49885bc is 4 bytes inside a block of size 52 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24161== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b0 is 0 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<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_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b8 is 8 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b0 is 0 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b0 is 0 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884c8 is 24 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884bc is 12 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b4 is 4 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884b4 is 4 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24161== Invalid read of size 4
==24161== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24161== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24161== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24161== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Address 0x49884d4 is 36 bytes inside a block of size 40 free'd
==24161== at 0x40285F2: free (vg_replace_malloc.c:530)
==24161== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24161== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24161== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24161== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24161== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24161== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24161== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24161== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24161== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24161== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24161== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161== Block was alloc'd at
==24161== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24161== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24161== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24161== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24161== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24161== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24161== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24161== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24161== by 0x805E931: main (nginx.c:364)
==24161==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987d6c is 20 bytes inside a block of size 52 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24172== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987e90 is 48 bytes inside a block of size 52 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24172== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987f2c is 44 bytes inside a block of size 200 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24172== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24172== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987f44 is 68 bytes inside a block of size 200 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24172== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987d5c is 4 bytes inside a block of size 52 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24172== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987d5c is 4 bytes inside a block of size 52 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24172== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c50 is 0 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<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_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c58 is 8 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c50 is 0 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c50 is 0 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c68 is 24 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c5c is 12 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c54 is 4 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c54 is 4 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24172== Invalid read of size 4
==24172== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24172== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24172== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24172== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Address 0x4987c74 is 36 bytes inside a block of size 40 free'd
==24172== at 0x40285F2: free (vg_replace_malloc.c:530)
==24172== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24172== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24172== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24172== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24172== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24172== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24172== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24172== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24172== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24172== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24172== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172== Block was alloc'd at
==24172== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24172== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24172== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24172== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24172== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24172== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24172== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24172== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24172== by 0x805E931: main (nginx.c:364)
==24172==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987d0c is 20 bytes inside a block of size 52 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24205== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987e30 is 48 bytes inside a block of size 52 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24205== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987ecc is 44 bytes inside a block of size 200 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24205== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24205== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987ee4 is 68 bytes inside a block of size 200 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24205== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987cfc is 4 bytes inside a block of size 52 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24205== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987cfc is 4 bytes inside a block of size 52 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24205== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf0 is 0 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<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_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf8 is 8 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf0 is 0 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf0 is 0 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987c08 is 24 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bfc is 12 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf4 is 4 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987bf4 is 4 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24205== Invalid read of size 4
==24205== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24205== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24205== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24205== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Address 0x4987c14 is 36 bytes inside a block of size 40 free'd
==24205== at 0x40285F2: free (vg_replace_malloc.c:530)
==24205== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24205== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24205== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24205== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24205== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24205== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24205== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24205== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24205== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24205== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24205== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205== Block was alloc'd at
==24205== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24205== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24205== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24205== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24205== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24205== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24205== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24205== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24205== by 0x805E931: main (nginx.c:364)
==24205==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987bd4 is 20 bytes inside a block of size 52 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24216== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987cf8 is 48 bytes inside a block of size 52 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24216== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987d94 is 44 bytes inside a block of size 200 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24216== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24216== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987dac is 68 bytes inside a block of size 200 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24216== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987bc4 is 4 bytes inside a block of size 52 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24216== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987bc4 is 4 bytes inside a block of size 52 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24216== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ab8 is 0 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<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_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ac0 is 8 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ab8 is 0 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ab8 is 0 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ad0 is 24 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987ac4 is 12 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987abc is 4 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987abc is 4 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24216== Invalid read of size 4
==24216== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24216== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24216== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24216== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Address 0x4987adc is 36 bytes inside a block of size 40 free'd
==24216== at 0x40285F2: free (vg_replace_malloc.c:530)
==24216== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24216== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24216== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24216== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24216== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24216== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24216== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24216== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24216== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24216== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24216== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216== Block was alloc'd at
==24216== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24216== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24216== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24216== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24216== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24216== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24216== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24216== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24216== by 0x805E931: main (nginx.c:364)
==24216==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49885c4 is 20 bytes inside a block of size 52 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24227== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49886e8 is 48 bytes inside a block of size 52 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24227== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x4988784 is 44 bytes inside a block of size 200 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24227== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24227== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x498879c is 68 bytes inside a block of size 200 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24227== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49885b4 is 4 bytes inside a block of size 52 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24227== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49885b4 is 4 bytes inside a block of size 52 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24227== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884a8 is 0 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<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_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884b0 is 8 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884a8 is 0 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884a8 is 0 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884c0 is 24 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884b4 is 12 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884ac is 4 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884ac is 4 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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 ==24227== Invalid read of size 4
==24227== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24227== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24227== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24227== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Address 0x49884cc is 36 bytes inside a block of size 40 free'd
==24227== at 0x40285F2: free (vg_replace_malloc.c:530)
==24227== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24227== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24227== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24227== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24227== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24227== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24227== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24227== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24227== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24227== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24227== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227== Block was alloc'd at
==24227== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24227== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24227== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24227== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24227== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24227== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24227== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24227== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24227== by 0x805E931: main (nginx.c:364)
==24227==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987d94 is 20 bytes inside a block of size 52 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24238== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987eb8 is 48 bytes inside a block of size 52 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24238== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987f54 is 44 bytes inside a block of size 200 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24238== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24238== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987f6c is 68 bytes inside a block of size 200 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24238== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987d84 is 4 bytes inside a block of size 52 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24238== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987d84 is 4 bytes inside a block of size 52 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24238== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c78 is 0 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<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_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c80 is 8 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c78 is 0 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c78 is 0 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c90 is 24 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c84 is 12 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c7c is 4 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c7c is 4 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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) ==24238== Invalid read of size 4
==24238== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24238== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24238== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24238== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Address 0x4987c9c is 36 bytes inside a block of size 40 free'd
==24238== at 0x40285F2: free (vg_replace_malloc.c:530)
==24238== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24238== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24238== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24238== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24238== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24238== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24238== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24238== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24238== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24238== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24238== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238== Block was alloc'd at
==24238== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24238== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24238== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24238== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24238== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==24238== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24238== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24238== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24238== by 0x805E931: main (nginx.c:364)
==24238==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==24363== Use of uninitialised value of size 4
==24363== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24363== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24363== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24363== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24363== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x407D855: lua_resume (lj_api.c:1142)
==24363== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24363== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24363== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24363== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24363== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24363== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24363== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24363== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24363== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24363== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24363== by 0x805E931: main (nginx.c:364)
==24363==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==24363== Invalid read of size 4
==24363== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24363== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24363== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24363== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24363== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x407D855: lua_resume (lj_api.c:1142)
==24363== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24363== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24363== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24363== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24363== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24363== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24363== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24363== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24363== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24363== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24363== by 0x805E931: main (nginx.c:364)
==24363== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24363==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==24363==
==24363== Process terminating with default action of signal 11 (SIGSEGV)
==24363== Access not within mapped region at address 0x2C
==24363== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24363== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24363== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24363== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24363== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24363== by 0x407D855: lua_resume (lj_api.c:1142)
==24363== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24363== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24363== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24363== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24363== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24363== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24363== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24363== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24363== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24363== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24363== by 0x805E931: main (nginx.c:364)
==24363== If you believe this happened as a result of a stack
==24363== overflow in your program's main thread (unlikely but
==24363== possible), you can try to increase the size of the
==24363== main thread stack using the --main-stacksize= flag.
==24363== 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
'
099-c-api.t TEST 4: key not found ==24387== Use of uninitialised value of size 4
==24387== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24387== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24387== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24387== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24387== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x407D855: lua_resume (lj_api.c:1142)
==24387== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24387== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24387== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24387== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24387== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24387== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24387== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24387== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24387== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24387== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24387== by 0x805E931: main (nginx.c:364)
==24387==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==24387== Invalid read of size 4
==24387== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24387== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24387== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24387== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24387== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x407D855: lua_resume (lj_api.c:1142)
==24387== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24387== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24387== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24387== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24387== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24387== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24387== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24387== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24387== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24387== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24387== by 0x805E931: main (nginx.c:364)
==24387== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24387==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==24387==
==24387== Process terminating with default action of signal 11 (SIGSEGV)
==24387== Access not within mapped region at address 0x2C
==24387== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24387== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24387== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24387== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24387== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24387== by 0x407D855: lua_resume (lj_api.c:1142)
==24387== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24387== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24387== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24387== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24387== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24387== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24387== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24387== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24387== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24387== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24387== by 0x805E931: main (nginx.c:364)
==24387== If you believe this happened as a result of a stack
==24387== overflow in your program's main thread (unlikely but
==24387== possible), you can try to increase the size of the
==24387== main thread stack using the --main-stacksize= flag.
==24387== 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 3: boolean typed value ==24400== Use of uninitialised value of size 4
==24400== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24400== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24400== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24400== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24400== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x407D855: lua_resume (lj_api.c:1142)
==24400== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24400== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24400== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24400== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24400== by 0x805E931: main (nginx.c:364)
==24400==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==24400== Invalid read of size 4
==24400== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24400== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24400== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24400== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24400== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x407D855: lua_resume (lj_api.c:1142)
==24400== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24400== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24400== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24400== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24400== by 0x805E931: main (nginx.c:364)
==24400== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24400==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==24400==
==24400== Process terminating with default action of signal 11 (SIGSEGV)
==24400== Access not within mapped region at address 0x2C
==24400== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24400== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24400== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24400== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24400== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24400== by 0x407D855: lua_resume (lj_api.c:1142)
==24400== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24400== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24400== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24400== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24400== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24400== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24400== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24400== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24400== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24400== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24400== by 0x805E931: main (nginx.c:364)
==24400== If you believe this happened as a result of a stack
==24400== overflow in your program's main thread (unlikely but
==24400== possible), you can try to increase the size of the
==24400== main thread stack using the --main-stacksize= flag.
==24400== 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 2: number typed value ==24413== Use of uninitialised value of size 4
==24413== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24413== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24413== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24413== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24413== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x407D855: lua_resume (lj_api.c:1142)
==24413== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24413== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24413== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24413== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24413== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24413== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24413== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24413== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24413== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24413== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24413== by 0x805E931: main (nginx.c:364)
==24413==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==24413== Invalid read of size 4
==24413== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24413== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24413== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24413== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24413== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x407D855: lua_resume (lj_api.c:1142)
==24413== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24413== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24413== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24413== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24413== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24413== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24413== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24413== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24413== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24413== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24413== by 0x805E931: main (nginx.c:364)
==24413== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24413==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==24413==
==24413== Process terminating with default action of signal 11 (SIGSEGV)
==24413== Access not within mapped region at address 0x2C
==24413== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24413== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24413== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24413== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24413== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24413== by 0x407D855: lua_resume (lj_api.c:1142)
==24413== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24413== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24413== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24413== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24413== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24413== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24413== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24413== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24413== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24413== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24413== by 0x805E931: main (nginx.c:364)
==24413== If you believe this happened as a result of a stack
==24413== overflow in your program's main thread (unlikely but
==24413== possible), you can try to increase the size of the
==24413== main thread stack using the --main-stacksize= flag.
==24413== 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 ==24437== Use of uninitialised value of size 4
==24437== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24437== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24437== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24437== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24437== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x407D855: lua_resume (lj_api.c:1142)
==24437== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24437== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24437== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24437== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24437== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24437== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24437== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24437== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24437== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24437== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24437== by 0x805E931: main (nginx.c:364)
==24437==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==24437== Invalid read of size 4
==24437== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24437== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24437== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24437== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24437== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x407D855: lua_resume (lj_api.c:1142)
==24437== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24437== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24437== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24437== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24437== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24437== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24437== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24437== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24437== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24437== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24437== by 0x805E931: main (nginx.c:364)
==24437== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==24437==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==24437==
==24437== Process terminating with default action of signal 11 (SIGSEGV)
==24437== Access not within mapped region at address 0x2C
==24437== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==24437== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==24437== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==24437== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==24437== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==24437== by 0x407D855: lua_resume (lj_api.c:1142)
==24437== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==24437== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==24437== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24437== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24437== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==24437== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24437== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==24437== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==24437== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==24437== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24437== by 0x805E931: main (nginx.c:364)
==24437== If you believe this happened as a result of a stack
==24437== overflow in your program's main thread (unlikely but
==24437== possible), you can try to increase the size of the
==24437== main thread stack using the --main-stacksize= flag.
==24437== 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
'
106-timer.t TEST 12: ngx.thread API ==24818== Invalid read of size 4
==24818== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0e0c is 20 bytes inside a block of size 52 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24818== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0ec8 is 48 bytes inside a block of size 52 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==24818== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0f64 is 44 bytes inside a block of size 200 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24818== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24818== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0f7c is 68 bytes inside a block of size 200 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24818== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0dfc is 4 bytes inside a block of size 52 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24818== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0dfc is 4 bytes inside a block of size 52 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==24818== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<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 ==24818== Invalid read of size 4
==24818== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d70 is 8 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d80 is 24 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d74 is 12 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d6c is 4 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d6c is 4 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==24818== Invalid read of size 4
==24818== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==24818== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Address 0x49c0d8c is 36 bytes inside a block of size 40 free'd
==24818== at 0x40285F2: free (vg_replace_malloc.c:530)
==24818== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==24818== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==24818== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==24818== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==24818== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24818== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24818== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818== Block was alloc'd at
==24818== at 0x4029679: malloc (vg_replace_malloc.c:299)
==24818== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==24818== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==24818== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==24818== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==24818== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==24818== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==24818== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==24818== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==24818== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24818== by 0x805E931: main (nginx.c:364)
==24818==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0e0c is 20 bytes inside a block of size 52 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25167== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0ec8 is 48 bytes inside a block of size 52 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==25167== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0f64 is 44 bytes inside a block of size 200 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==25167== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==25167== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0f7c is 68 bytes inside a block of size 200 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==25167== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0dfc is 4 bytes inside a block of size 52 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25167== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0dfc is 4 bytes inside a block of size 52 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==25167== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<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 ==25167== Invalid read of size 4
==25167== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d70 is 8 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d68 is 0 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d80 is 24 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d74 is 12 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d6c is 4 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d6c is 4 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 ==25167== Invalid read of size 4
==25167== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==25167== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Address 0x49c0d8c is 36 bytes inside a block of size 40 free'd
==25167== at 0x40285F2: free (vg_replace_malloc.c:530)
==25167== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==25167== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==25167== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==25167== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==25167== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==25167== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==25167== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167== Block was alloc'd at
==25167== at 0x4029679: malloc (vg_replace_malloc.c:299)
==25167== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==25167== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==25167== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==25167== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==25167== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==25167== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==25167== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==25167== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==25167== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==25167== by 0x805E931: main (nginx.c:364)
==25167==
{
<insert_a_suppression_name_here>
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 - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a474 is 20 bytes inside a block of size 52 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26410== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a598 is 48 bytes inside a block of size 52 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26410== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a634 is 44 bytes inside a block of size 200 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26410== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26410== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a64c is 68 bytes inside a block of size 200 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26410== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a464 is 4 bytes inside a block of size 52 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26410== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a464 is 4 bytes inside a block of size 52 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26410== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a358 is 0 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a360 is 8 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a358 is 0 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a358 is 0 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a370 is 24 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a364 is 12 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a35c is 4 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a35c is 4 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==26410== Invalid read of size 4
==26410== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26410== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26410== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26410== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Address 0x499a37c is 36 bytes inside a block of size 40 free'd
==26410== at 0x40285F2: free (vg_replace_malloc.c:530)
==26410== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26410== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26410== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26410== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26410== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26410== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26410== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26410== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26410== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26410== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26410== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410== Block was alloc'd at
==26410== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26410== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26410== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26410== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26410== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26410== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26410== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26410== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26410== by 0x805E931: main (nginx.c:364)
==26410==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987e0c is 20 bytes inside a block of size 52 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26432== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987f30 is 48 bytes inside a block of size 52 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26432== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987fcc is 44 bytes inside a block of size 200 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26432== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26432== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987fe4 is 68 bytes inside a block of size 200 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26432== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987dfc is 4 bytes inside a block of size 52 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26432== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987dfc is 4 bytes inside a block of size 52 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26432== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf0 is 0 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf8 is 8 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf0 is 0 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf0 is 0 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987d08 is 24 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cfc is 12 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf4 is 4 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987cf4 is 4 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==26432== Invalid read of size 4
==26432== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26432== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26432== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26432== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Address 0x4987d14 is 36 bytes inside a block of size 40 free'd
==26432== at 0x40285F2: free (vg_replace_malloc.c:530)
==26432== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26432== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26432== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26432== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26432== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26432== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26432== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26432== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26432== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26432== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26432== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432== Block was alloc'd at
==26432== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26432== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26432== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26432== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26432== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26432== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26432== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26432== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26432== by 0x805E931: main (nginx.c:364)
==26432==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987aec is 20 bytes inside a block of size 52 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26443== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987c10 is 48 bytes inside a block of size 52 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26443== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987cac is 44 bytes inside a block of size 200 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26443== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26443== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987cc4 is 68 bytes inside a block of size 200 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26443== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987adc is 4 bytes inside a block of size 52 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26443== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x4987adc is 4 bytes inside a block of size 52 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26443== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d0 is 0 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d8 is 8 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d0 is 0 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d0 is 0 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879e8 is 24 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879dc is 12 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d4 is 4 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879d4 is 4 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==26443== Invalid read of size 4
==26443== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26443== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26443== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26443== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Address 0x49879f4 is 36 bytes inside a block of size 40 free'd
==26443== at 0x40285F2: free (vg_replace_malloc.c:530)
==26443== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26443== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26443== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26443== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26443== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26443== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26443== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26443== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26443== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26443== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26443== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443== Block was alloc'd at
==26443== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26443== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26443== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26443== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26443== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26443== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26443== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26443== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26443== by 0x805E931: main (nginx.c:364)
==26443==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987e54 is 20 bytes inside a block of size 52 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26465== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987f78 is 48 bytes inside a block of size 52 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26465== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4988014 is 44 bytes inside a block of size 200 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26465== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26465== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x498802c is 68 bytes inside a block of size 200 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x8139ABE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26465== by 0x8139ABE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987e44 is 4 bytes inside a block of size 52 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26465== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987e44 is 4 bytes inside a block of size 52 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==26465== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d38 is 0 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d40 is 8 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d38 is 0 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d38 is 0 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d50 is 24 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d44 is 12 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d3c is 4 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d3c is 4 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==26465== Invalid read of size 4
==26465== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==26465== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26465== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26465== by 0x8139C53: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Address 0x4987d5c is 36 bytes inside a block of size 40 free'd
==26465== at 0x40285F2: free (vg_replace_malloc.c:530)
==26465== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==26465== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26465== by 0x813D24C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26465== by 0x813DAE2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26465== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26465== by 0x8139878: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26465== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26465== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26465== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==26465== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26465== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465== Block was alloc'd at
==26465== at 0x4029679: malloc (vg_replace_malloc.c:299)
==26465== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==26465== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==26465== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==26465== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==26465== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==26465== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==26465== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26465== by 0x805E931: main (nginx.c:364)
==26465==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
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
058-tcp-socket.t TEST 35: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 36: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 34: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
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 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 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 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)
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)
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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8182 pending timers
'
expected: 'stream lua found 8191 pending timers
'
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
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:09 [error] 26589\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:09 [error] 26589\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:11 [error] 26600\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:12 [error] 26600\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:14 [error] 26611\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:14 [error] 26611\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:20 [error] 26633\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:20 [error] 26633\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:22 [error] 26644\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:23 [error] 26644\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:28 [error] 26666\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:28 [error] 26666\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:30 [error] 26677\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:31 [error] 26677\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:33 [error] 26688\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:33 [error] 26688\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:36 [error] 26699\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:36 [error] 26699\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:38 [error] 26710\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:39 [error] 26710\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:41 [error] 26721\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:41 [error] 26721\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:43 [error] 26732\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:44 [error] 26732\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:46 [error] 26743\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:46 [error] 26743\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:51 [error] 26765\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:52 [error] 26765\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:54 [error] 26776\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:54 [error] 26776\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:57 [error] 26787\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:57 [error] 26787\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:59 [error] 26798\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:56:59 [error] 26798\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:04 [error] 26820\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:05 [error] 26820\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:07 [error] 26831\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:07 [error] 26831\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:09 [error] 26842\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:10 [error] 26842\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:17 [error] 26875\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:18 [error] 26875\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:20 [error] 26886\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:21 [error] 26886\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:23 [error] 26897\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:57:23 [error] 26897\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
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] "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
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

Warnings

Go back to the index page.