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

Detailed Test Report for ngx_stream_lua in linux i386 (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_s