(This page was automatically generated by the tools in the opsboy project on 18:34:24 08-Apr-2017 GMT.)

Detailed Test Report for ngx_stream_lua in linux i386 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
72d8cf57 2016-11-08 20:36:23 GMT 390 193 94 7509 2669 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==29314== Invalid read of size 4
==29314== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49924ec is 20 bytes inside a block of size 52 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29314== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x4992610 is 48 bytes inside a block of size 52 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29314== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49926ac is 44 bytes inside a block of size 200 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29314== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29314== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49947b0 is 104 bytes inside a block of size 352 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x8060485: ngx_list_init (ngx_list.h:39)
==29314== by 0x8060485: ngx_list_create (ngx_list.c:22)
==29314== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==29314== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==29314== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==29314== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==29314== by 0x407D855: lua_resume (lj_api.c:1142)
==29314== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==29314== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<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 ==29314== Invalid read of size 4
==29314== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49924dc is 4 bytes inside a block of size 52 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29314== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49924dc is 4 bytes inside a block of size 52 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29314== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<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 ==29314== Invalid read of size 4
==29314== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d0 is 0 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<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 ==29314== Invalid read of size 4
==29314== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d8 is 8 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d0 is 0 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d0 is 0 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923e8 is 24 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923dc is 12 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d4 is 4 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923d4 is 4 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29314== Invalid read of size 4
==29314== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29314== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29314== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29314== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Address 0x49923f4 is 36 bytes inside a block of size 40 free'd
==29314== at 0x40285F2: free (vg_replace_malloc.c:530)
==29314== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29314== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29314== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29314== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29314== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29314== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29314== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29314== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29314== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29314== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29314== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29314== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314== Block was alloc'd at
==29314== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29314== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29314== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29314== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29314== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29314== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29314== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29314== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29314== by 0x805E931: main (nginx.c:364)
==29314==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991fd4 is 20 bytes inside a block of size 52 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29325== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x49920f8 is 48 bytes inside a block of size 52 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29325== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4992194 is 44 bytes inside a block of size 200 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29325== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29325== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x49921ac is 68 bytes inside a block of size 200 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29325== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<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 ==29325== Invalid read of size 4
==29325== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991fc4 is 4 bytes inside a block of size 52 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29325== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991fc4 is 4 bytes inside a block of size 52 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29325== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<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 ==29325== Invalid read of size 4
==29325== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991eb8 is 0 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<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 ==29325== Invalid read of size 4
==29325== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991ec0 is 8 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991eb8 is 0 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991eb8 is 0 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991ed0 is 24 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991ec4 is 12 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991ebc is 4 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991ebc is 4 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29325== Invalid read of size 4
==29325== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29325== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29325== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29325== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Address 0x4991edc is 36 bytes inside a block of size 40 free'd
==29325== at 0x40285F2: free (vg_replace_malloc.c:530)
==29325== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29325== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29325== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29325== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29325== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29325== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29325== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29325== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29325== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29325== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29325== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29325== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325== Block was alloc'd at
==29325== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29325== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29325== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29325== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29325== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29325== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29325== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29325== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29325== by 0x805E931: main (nginx.c:364)
==29325==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992614 is 20 bytes inside a block of size 52 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29336== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992738 is 48 bytes inside a block of size 52 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29336== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49927d4 is 44 bytes inside a block of size 200 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29336== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29336== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49927ec is 68 bytes inside a block of size 200 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29336== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<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 ==29336== Invalid read of size 4
==29336== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992604 is 4 bytes inside a block of size 52 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29336== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992604 is 4 bytes inside a block of size 52 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29336== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<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 ==29336== Invalid read of size 4
==29336== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49924f8 is 0 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<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 ==29336== Invalid read of size 4
==29336== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992500 is 8 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49924f8 is 0 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49924f8 is 0 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992510 is 24 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x4992504 is 12 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49924fc is 4 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x49924fc is 4 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29336== Invalid read of size 4
==29336== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29336== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29336== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29336== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Address 0x499251c is 36 bytes inside a block of size 40 free'd
==29336== at 0x40285F2: free (vg_replace_malloc.c:530)
==29336== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29336== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29336== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29336== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29336== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29336== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29336== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29336== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29336== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29336== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29336== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29336== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336== Block was alloc'd at
==29336== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29336== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29336== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29336== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29336== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29336== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29336== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29336== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29336== by 0x805E931: main (nginx.c:364)
==29336==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991cf4 is 20 bytes inside a block of size 52 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29358== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991e18 is 48 bytes inside a block of size 52 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29358== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991eb4 is 44 bytes inside a block of size 200 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29358== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29358== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991ecc is 68 bytes inside a block of size 200 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29358== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<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 ==29358== Invalid read of size 4
==29358== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991ce4 is 4 bytes inside a block of size 52 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29358== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991ce4 is 4 bytes inside a block of size 52 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29358== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<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 ==29358== Invalid read of size 4
==29358== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bd8 is 0 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<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 ==29358== Invalid read of size 4
==29358== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991be0 is 8 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bd8 is 0 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bd8 is 0 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bf0 is 24 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991be4 is 12 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bdc is 4 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bdc is 4 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29358== Invalid read of size 4
==29358== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29358== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29358== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29358== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Address 0x4991bfc is 36 bytes inside a block of size 40 free'd
==29358== at 0x40285F2: free (vg_replace_malloc.c:530)
==29358== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29358== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29358== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29358== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29358== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29358== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29358== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29358== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29358== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29358== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29358== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29358== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358== Block was alloc'd at
==29358== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29358== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29358== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29358== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29358== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29358== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29358== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29358== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29358== by 0x805E931: main (nginx.c:364)
==29358==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992594 is 20 bytes inside a block of size 52 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29380== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x49926b8 is 48 bytes inside a block of size 52 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29380== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992754 is 44 bytes inside a block of size 200 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29380== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29380== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x499276c is 68 bytes inside a block of size 200 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29380== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<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 ==29380== Invalid read of size 4
==29380== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992584 is 4 bytes inside a block of size 52 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29380== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992584 is 4 bytes inside a block of size 52 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29380== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<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 ==29380== Invalid read of size 4
==29380== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992478 is 0 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<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 ==29380== Invalid read of size 4
==29380== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992480 is 8 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992478 is 0 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992478 is 0 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992490 is 24 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x4992484 is 12 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x499247c is 4 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x499247c is 4 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29380== Invalid read of size 4
==29380== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29380== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29380== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29380== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Address 0x499249c is 36 bytes inside a block of size 40 free'd
==29380== at 0x40285F2: free (vg_replace_malloc.c:530)
==29380== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29380== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29380== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29380== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29380== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29380== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29380== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29380== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29380== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29380== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29380== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29380== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380== Block was alloc'd at
==29380== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29380== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29380== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29380== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29380== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29380== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29380== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29380== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29380== by 0x805E931: main (nginx.c:364)
==29380==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991d9c is 20 bytes inside a block of size 52 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29406== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991ec0 is 48 bytes inside a block of size 52 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29406== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991f5c is 44 bytes inside a block of size 200 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29406== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29406== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991f74 is 68 bytes inside a block of size 200 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29406== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<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 ==29406== Invalid read of size 4
==29406== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991d8c is 4 bytes inside a block of size 52 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29406== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991d8c is 4 bytes inside a block of size 52 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29406== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<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 ==29406== Invalid read of size 4
==29406== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c80 is 0 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<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 ==29406== Invalid read of size 4
==29406== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c88 is 8 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c80 is 0 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c80 is 0 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c98 is 24 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c8c is 12 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c84 is 4 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991c84 is 4 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29406== Invalid read of size 4
==29406== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29406== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29406== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29406== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Address 0x4991ca4 is 36 bytes inside a block of size 40 free'd
==29406== at 0x40285F2: free (vg_replace_malloc.c:530)
==29406== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29406== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29406== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29406== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29406== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29406== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29406== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29406== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29406== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29406== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29406== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29406== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406== Block was alloc'd at
==29406== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29406== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29406== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29406== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29406== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29406== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29406== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29406== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29406== by 0x805E931: main (nginx.c:364)
==29406==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49921bc is 20 bytes inside a block of size 52 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29417== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49922e0 is 48 bytes inside a block of size 52 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29417== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x499237c is 44 bytes inside a block of size 200 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29417== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29417== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x4992394 is 68 bytes inside a block of size 200 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29417== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<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 ==29417== Invalid read of size 4
==29417== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49921ac is 4 bytes inside a block of size 52 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29417== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49921ac is 4 bytes inside a block of size 52 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29417== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<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 ==29417== Invalid read of size 4
==29417== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a0 is 0 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<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 ==29417== Invalid read of size 4
==29417== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a8 is 8 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a0 is 0 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a0 is 0 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920b8 is 24 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920ac is 12 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a4 is 4 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920a4 is 4 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29417== Invalid read of size 4
==29417== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29417== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29417== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29417== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Address 0x49920c4 is 36 bytes inside a block of size 40 free'd
==29417== at 0x40285F2: free (vg_replace_malloc.c:530)
==29417== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29417== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29417== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29417== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29417== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29417== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29417== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29417== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29417== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29417== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29417== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29417== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417== Block was alloc'd at
==29417== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29417== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29417== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29417== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29417== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29417== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29417== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29417== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29417== by 0x805E931: main (nginx.c:364)
==29417==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x499210c is 20 bytes inside a block of size 52 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29428== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4992230 is 48 bytes inside a block of size 52 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29428== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x49922cc is 44 bytes inside a block of size 200 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29428== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29428== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4993ea8 is 16 bytes inside a block of size 352 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x8060485: ngx_list_init (ngx_list.h:39)
==29428== by 0x8060485: ngx_list_create (ngx_list.c:22)
==29428== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==29428== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==29428== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==29428== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==29428== by 0x407D855: lua_resume (lj_api.c:1142)
==29428== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==29428== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<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 ==29428== Invalid read of size 4
==29428== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x49920fc is 4 bytes inside a block of size 52 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29428== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x49920fc is 4 bytes inside a block of size 52 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29428== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<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 ==29428== Invalid read of size 4
==29428== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff0 is 0 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<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 ==29428== Invalid read of size 4
==29428== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff8 is 8 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff0 is 0 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff0 is 0 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4992008 is 24 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ffc is 12 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff4 is 4 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4991ff4 is 4 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29428== Invalid read of size 4
==29428== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29428== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29428== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29428== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Address 0x4992014 is 36 bytes inside a block of size 40 free'd
==29428== at 0x40285F2: free (vg_replace_malloc.c:530)
==29428== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29428== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29428== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29428== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29428== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29428== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29428== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29428== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29428== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29428== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29428== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29428== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428== Block was alloc'd at
==29428== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29428== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29428== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29428== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29428== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29428== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29428== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29428== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29428== by 0x805E931: main (nginx.c:364)
==29428==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991e5c is 20 bytes inside a block of size 52 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29461== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991f80 is 48 bytes inside a block of size 52 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29461== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x499201c is 44 bytes inside a block of size 200 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29461== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29461== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4992034 is 68 bytes inside a block of size 200 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29461== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<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 ==29461== Invalid read of size 4
==29461== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991e4c is 4 bytes inside a block of size 52 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29461== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991e4c is 4 bytes inside a block of size 52 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29461== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<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 ==29461== Invalid read of size 4
==29461== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d40 is 0 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<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 ==29461== Invalid read of size 4
==29461== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d48 is 8 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d40 is 0 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d40 is 0 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d58 is 24 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d4c is 12 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d44 is 4 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d44 is 4 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29461== Invalid read of size 4
==29461== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29461== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29461== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29461== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Address 0x4991d64 is 36 bytes inside a block of size 40 free'd
==29461== at 0x40285F2: free (vg_replace_malloc.c:530)
==29461== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29461== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29461== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29461== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29461== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29461== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29461== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29461== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29461== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29461== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29461== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29461== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461== Block was alloc'd at
==29461== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29461== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29461== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29461== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29461== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29461== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29461== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29461== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29461== by 0x805E931: main (nginx.c:364)
==29461==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992184 is 20 bytes inside a block of size 52 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29494== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x49922a8 is 48 bytes inside a block of size 52 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29494== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992344 is 44 bytes inside a block of size 200 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29494== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29494== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x499235c is 68 bytes inside a block of size 200 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29494== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<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 ==29494== Invalid read of size 4
==29494== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992174 is 4 bytes inside a block of size 52 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29494== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992174 is 4 bytes inside a block of size 52 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29494== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<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 ==29494== Invalid read of size 4
==29494== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992068 is 0 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<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 ==29494== Invalid read of size 4
==29494== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992070 is 8 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992068 is 0 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992068 is 0 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992080 is 24 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x4992074 is 12 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x499206c is 4 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x499206c is 4 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29494== Invalid read of size 4
==29494== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29494== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29494== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29494== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Address 0x499208c is 36 bytes inside a block of size 40 free'd
==29494== at 0x40285F2: free (vg_replace_malloc.c:530)
==29494== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29494== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29494== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29494== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29494== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29494== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29494== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29494== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29494== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29494== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29494== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29494== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494== Block was alloc'd at
==29494== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29494== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29494== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29494== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29494== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29494== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29494== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29494== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29494== by 0x805E931: main (nginx.c:364)
==29494==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991ecc is 20 bytes inside a block of size 52 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29505== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991ff0 is 48 bytes inside a block of size 52 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29505== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x499208c is 44 bytes inside a block of size 200 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29505== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29505== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4993b00 is 16 bytes inside a block of size 352 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x8060485: ngx_list_init (ngx_list.h:39)
==29505== by 0x8060485: ngx_list_create (ngx_list.c:22)
==29505== by 0x813C717: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==29505== by 0x81488AB: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==29505== by 0x8147EC2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==29505== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==29505== by 0x407D855: lua_resume (lj_api.c:1142)
==29505== by 0x813B7E6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==29505== by 0x8139897: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<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 ==29505== Invalid read of size 4
==29505== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991ebc is 4 bytes inside a block of size 52 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29505== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991ebc is 4 bytes inside a block of size 52 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29505== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<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 ==29505== Invalid read of size 4
==29505== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db0 is 0 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<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 ==29505== Invalid read of size 4
==29505== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db8 is 8 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db0 is 0 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db0 is 0 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991dc8 is 24 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991dbc is 12 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db4 is 4 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991db4 is 4 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29505== Invalid read of size 4
==29505== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29505== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29505== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29505== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Address 0x4991dd4 is 36 bytes inside a block of size 40 free'd
==29505== at 0x40285F2: free (vg_replace_malloc.c:530)
==29505== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29505== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29505== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29505== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29505== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29505== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29505== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29505== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29505== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29505== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29505== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29505== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505== Block was alloc'd at
==29505== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29505== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29505== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29505== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29505== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29505== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29505== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29505== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29505== by 0x805E931: main (nginx.c:364)
==29505==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991c4c is 20 bytes inside a block of size 52 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29516== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991d70 is 48 bytes inside a block of size 52 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29516== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991e0c is 44 bytes inside a block of size 200 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29516== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29516== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991e24 is 68 bytes inside a block of size 200 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29516== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<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 ==29516== Invalid read of size 4
==29516== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991c3c is 4 bytes inside a block of size 52 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29516== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991c3c is 4 bytes inside a block of size 52 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29516== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<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 ==29516== Invalid read of size 4
==29516== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b30 is 0 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<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 ==29516== Invalid read of size 4
==29516== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b38 is 8 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b30 is 0 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b30 is 0 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b48 is 24 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b3c is 12 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b34 is 4 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b34 is 4 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==29516== Invalid read of size 4
==29516== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29516== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29516== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29516== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Address 0x4991b54 is 36 bytes inside a block of size 40 free'd
==29516== at 0x40285F2: free (vg_replace_malloc.c:530)
==29516== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29516== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29516== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29516== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29516== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29516== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29516== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29516== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29516== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29516== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29516== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29516== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516== Block was alloc'd at
==29516== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29516== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29516== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29516== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29516== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29516== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29516== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29516== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29516== by 0x805E931: main (nginx.c:364)
==29516==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987cec is 20 bytes inside a block of size 52 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29667== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987e10 is 48 bytes inside a block of size 52 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29667== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987eac is 44 bytes inside a block of size 200 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29667== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29667== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987ec4 is 68 bytes inside a block of size 200 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29667== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<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) ==29667== Invalid read of size 4
==29667== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987cdc is 4 bytes inside a block of size 52 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29667== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987cdc is 4 bytes inside a block of size 52 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29667== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<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) ==29667== Invalid read of size 4
==29667== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd0 is 0 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<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) ==29667== Invalid read of size 4
==29667== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd8 is 8 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd0 is 0 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd0 is 0 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987be8 is 24 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bdc is 12 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd4 is 4 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bd4 is 4 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==29667== Invalid read of size 4
==29667== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29667== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29667== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29667== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Address 0x4987bf4 is 36 bytes inside a block of size 40 free'd
==29667== at 0x40285F2: free (vg_replace_malloc.c:530)
==29667== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29667== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29667== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29667== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29667== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29667== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29667== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29667== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29667== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29667== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29667== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29667== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667== Block was alloc'd at
==29667== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29667== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29667== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29667== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29667== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29667== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29667== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29667== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29667== by 0x805E931: main (nginx.c:364)
==29667==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987bc4 is 20 bytes inside a block of size 52 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29777== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987ce8 is 48 bytes inside a block of size 52 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29777== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987d84 is 44 bytes inside a block of size 200 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29777== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29777== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987d9c is 68 bytes inside a block of size 200 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29777== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<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 ==29777== Invalid read of size 4
==29777== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987bb4 is 4 bytes inside a block of size 52 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29777== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987bb4 is 4 bytes inside a block of size 52 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29777== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<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 ==29777== Invalid read of size 4
==29777== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987aa8 is 0 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<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 ==29777== Invalid read of size 4
==29777== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987ab0 is 8 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987aa8 is 0 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987aa8 is 0 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987ac0 is 24 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987ab4 is 12 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987aac is 4 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987aac is 4 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29777== Invalid read of size 4
==29777== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29777== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29777== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29777== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Address 0x4987acc is 36 bytes inside a block of size 40 free'd
==29777== at 0x40285F2: free (vg_replace_malloc.c:530)
==29777== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29777== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29777== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29777== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29777== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29777== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29777== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29777== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29777== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29777== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29777== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29777== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777== Block was alloc'd at
==29777== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29777== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29777== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29777== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29777== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29777== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29777== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29777== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29777== by 0x805E931: main (nginx.c:364)
==29777==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987ddc is 20 bytes inside a block of size 52 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29788== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987f00 is 48 bytes inside a block of size 52 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29788== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987f9c is 44 bytes inside a block of size 200 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29788== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29788== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987fb4 is 68 bytes inside a block of size 200 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29788== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<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 ==29788== Invalid read of size 4
==29788== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987dcc is 4 bytes inside a block of size 52 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29788== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987dcc is 4 bytes inside a block of size 52 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29788== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<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 ==29788== Invalid read of size 4
==29788== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc0 is 0 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<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 ==29788== Invalid read of size 4
==29788== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc8 is 8 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc0 is 0 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc0 is 0 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cd8 is 24 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987ccc is 12 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc4 is 4 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987cc4 is 4 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29788== Invalid read of size 4
==29788== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29788== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29788== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29788== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Address 0x4987ce4 is 36 bytes inside a block of size 40 free'd
==29788== at 0x40285F2: free (vg_replace_malloc.c:530)
==29788== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29788== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29788== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29788== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29788== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29788== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29788== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29788== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29788== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29788== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29788== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29788== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788== Block was alloc'd at
==29788== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29788== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29788== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29788== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29788== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29788== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29788== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29788== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29788== by 0x805E931: main (nginx.c:364)
==29788==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x49885a4 is 20 bytes inside a block of size 52 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29799== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x49886c8 is 48 bytes inside a block of size 52 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29799== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988764 is 44 bytes inside a block of size 200 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29799== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29799== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x498877c is 68 bytes inside a block of size 200 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29799== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988594 is 4 bytes inside a block of size 52 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29799== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988594 is 4 bytes inside a block of size 52 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29799== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988488 is 0 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988490 is 8 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988488 is 0 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988488 is 0 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x49884a0 is 24 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x4988494 is 12 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x498848c is 4 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x498848c is 4 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==29799== Invalid read of size 4
==29799== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29799== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29799== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29799== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Address 0x49884ac is 36 bytes inside a block of size 40 free'd
==29799== at 0x40285F2: free (vg_replace_malloc.c:530)
==29799== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29799== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29799== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29799== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29799== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29799== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29799== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29799== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29799== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29799== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29799== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29799== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799== Block was alloc'd at
==29799== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29799== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29799== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29799== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29799== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29799== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29799== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29799== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29799== by 0x805E931: main (nginx.c:364)
==29799==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987d74 is 20 bytes inside a block of size 52 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29854== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987e98 is 48 bytes inside a block of size 52 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29854== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987f34 is 44 bytes inside a block of size 200 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29854== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29854== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987f4c is 68 bytes inside a block of size 200 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29854== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987d64 is 4 bytes inside a block of size 52 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29854== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987d64 is 4 bytes inside a block of size 52 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29854== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c58 is 0 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c60 is 8 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c58 is 0 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c58 is 0 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c70 is 24 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c64 is 12 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c5c is 4 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c5c is 4 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==29854== Invalid read of size 4
==29854== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29854== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29854== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29854== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Address 0x4987c7c is 36 bytes inside a block of size 40 free'd
==29854== at 0x40285F2: free (vg_replace_malloc.c:530)
==29854== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29854== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29854== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29854== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29854== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29854== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29854== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29854== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29854== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29854== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29854== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29854== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854== Block was alloc'd at
==29854== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29854== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29854== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29854== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29854== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29854== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29854== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29854== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29854== by 0x805E931: main (nginx.c:364)
==29854==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x49885ac is 20 bytes inside a block of size 52 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29865== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x49886d0 is 48 bytes inside a block of size 52 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29865== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x498876c is 44 bytes inside a block of size 200 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29865== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29865== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988784 is 68 bytes inside a block of size 200 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29865== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<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 ==29865== Invalid read of size 4
==29865== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x498859c is 4 bytes inside a block of size 52 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29865== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x498859c is 4 bytes inside a block of size 52 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29865== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<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 ==29865== Invalid read of size 4
==29865== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988490 is 0 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<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 ==29865== Invalid read of size 4
==29865== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988498 is 8 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988490 is 0 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988490 is 0 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x49884a8 is 24 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x498849c is 12 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988494 is 4 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x4988494 is 4 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29865== Invalid read of size 4
==29865== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29865== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29865== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29865== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Address 0x49884b4 is 36 bytes inside a block of size 40 free'd
==29865== at 0x40285F2: free (vg_replace_malloc.c:530)
==29865== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29865== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29865== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29865== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29865== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29865== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29865== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29865== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29865== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29865== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29865== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29865== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865== Block was alloc'd at
==29865== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29865== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29865== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29865== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29865== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29865== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29865== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29865== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29865== by 0x805E931: main (nginx.c:364)
==29865==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987bb4 is 20 bytes inside a block of size 52 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29876== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987cd8 is 48 bytes inside a block of size 52 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29876== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987d74 is 44 bytes inside a block of size 200 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29876== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29876== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987d8c is 68 bytes inside a block of size 200 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29876== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==29876== Invalid read of size 4
==29876== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987ba4 is 4 bytes inside a block of size 52 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29876== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987ba4 is 4 bytes inside a block of size 52 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29876== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==29876== Invalid read of size 4
==29876== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987a98 is 0 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==29876== Invalid read of size 4
==29876== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987aa0 is 8 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987a98 is 0 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987a98 is 0 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987ab0 is 24 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987aa4 is 12 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987a9c is 4 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987a9c is 4 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29876== Invalid read of size 4
==29876== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29876== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29876== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29876== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Address 0x4987abc is 36 bytes inside a block of size 40 free'd
==29876== at 0x40285F2: free (vg_replace_malloc.c:530)
==29876== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29876== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29876== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29876== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29876== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29876== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29876== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29876== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29876== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29876== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29876== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29876== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876== Block was alloc'd at
==29876== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29876== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29876== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29876== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29876== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29876== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29876== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29876== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29876== by 0x805E931: main (nginx.c:364)
==29876==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987d4c is 20 bytes inside a block of size 52 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29898== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987e70 is 48 bytes inside a block of size 52 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29898== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987f0c is 44 bytes inside a block of size 200 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29898== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29898== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987f24 is 68 bytes inside a block of size 200 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29898== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<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 ==29898== Invalid read of size 4
==29898== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987d3c is 4 bytes inside a block of size 52 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29898== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987d3c is 4 bytes inside a block of size 52 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==29898== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<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 ==29898== Invalid read of size 4
==29898== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c30 is 0 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<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 ==29898== Invalid read of size 4
==29898== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c38 is 8 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c30 is 0 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c30 is 0 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c48 is 24 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c3c is 12 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c34 is 4 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c34 is 4 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==29898== Invalid read of size 4
==29898== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==29898== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29898== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29898== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Address 0x4987c54 is 36 bytes inside a block of size 40 free'd
==29898== at 0x40285F2: free (vg_replace_malloc.c:530)
==29898== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==29898== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29898== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29898== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29898== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29898== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29898== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29898== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29898== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29898== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==29898== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29898== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898== Block was alloc'd at
==29898== at 0x4029679: malloc (vg_replace_malloc.c:299)
==29898== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==29898== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==29898== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==29898== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==29898== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==29898== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==29898== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29898== by 0x805E931: main (nginx.c:364)
==29898==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0dec is 20 bytes inside a block of size 52 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30446== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0ea8 is 48 bytes inside a block of size 52 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==30446== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0f44 is 44 bytes inside a block of size 200 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==30446== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==30446== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0f5c is 68 bytes inside a block of size 200 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==30446== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0ddc is 4 bytes inside a block of size 52 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30446== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0ddc is 4 bytes inside a block of size 52 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30446== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d50 is 8 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d60 is 24 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d54 is 12 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d4c is 4 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d4c is 4 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==30446== Invalid read of size 4
==30446== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==30446== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Address 0x49c0d6c is 36 bytes inside a block of size 40 free'd
==30446== at 0x40285F2: free (vg_replace_malloc.c:530)
==30446== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30446== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30446== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30446== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30446== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30446== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30446== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446== Block was alloc'd at
==30446== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30446== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30446== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30446== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30446== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30446== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30446== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30446== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30446== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30446== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30446== by 0x805E931: main (nginx.c:364)
==30446==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0dec is 20 bytes inside a block of size 52 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30674== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0ea8 is 48 bytes inside a block of size 52 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF9F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==30674== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0f44 is 44 bytes inside a block of size 200 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==30674== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==30674== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0f5c is 68 bytes inside a block of size 200 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x8158069: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==30674== by 0x8158069: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0ddc is 4 bytes inside a block of size 52 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30674== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0ddc is 4 bytes inside a block of size 52 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF82: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==30674== by 0x8157FE9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d50 is 8 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d48 is 0 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d60 is 24 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d54 is 12 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d4c is 4 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d4c is 4 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==30674== Invalid read of size 4
==30674== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==30674== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x8158329: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Address 0x49c0d6c is 36 bytes inside a block of size 40 free'd
==30674== at 0x40285F2: free (vg_replace_malloc.c:530)
==30674== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==30674== by 0x813B443: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==30674== by 0x813B461: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==30674== by 0x813B5C1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==30674== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==30674== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==30674== by 0x815831D: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674== Block was alloc'd at
==30674== at 0x4029679: malloc (vg_replace_malloc.c:299)
==30674== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==30674== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==30674== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==30674== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==30674== by 0x813CF20: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==30674== by 0x8157FB6: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==30674== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==30674== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==30674== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==30674== by 0x805E931: main (nginx.c:364)
==30674==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a454 is 20 bytes inside a block of size 52 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31891== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a578 is 48 bytes inside a block of size 52 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31891== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a614 is 44 bytes inside a block of size 200 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31891== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==31891== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a62c is 68 bytes inside a block of size 200 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31891== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a444 is 4 bytes inside a block of size 52 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31891== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a444 is 4 bytes inside a block of size 52 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31891== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a338 is 0 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a340 is 8 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a338 is 0 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a338 is 0 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a350 is 24 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a344 is 12 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a33c is 4 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a33c is 4 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver - Can't connect to 127.0.0.1:1984: Connection refused ==31891== Invalid read of size 4
==31891== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==31891== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31891== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31891== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Address 0x499a35c is 36 bytes inside a block of size 40 free'd
==31891== at 0x40285F2: free (vg_replace_malloc.c:530)
==31891== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31891== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31891== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31891== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31891== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31891== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31891== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31891== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31891== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31891== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31891== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31891== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891== Block was alloc'd at
==31891== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31891== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31891== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31891== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31891== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31891== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31891== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31891== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31891== by 0x805E931: main (nginx.c:364)
==31891==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987acc is 20 bytes inside a block of size 52 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31902== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987bf0 is 48 bytes inside a block of size 52 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31902== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987c8c is 44 bytes inside a block of size 200 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31902== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==31902== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987ca4 is 68 bytes inside a block of size 200 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31902== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987abc is 4 bytes inside a block of size 52 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31902== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x4987abc is 4 bytes inside a block of size 52 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31902== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b0 is 0 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b8 is 8 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b0 is 0 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b0 is 0 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879c8 is 24 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879bc is 12 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b4 is 4 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879b4 is 4 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==31902== Invalid read of size 4
==31902== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==31902== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31902== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31902== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Address 0x49879d4 is 36 bytes inside a block of size 40 free'd
==31902== at 0x40285F2: free (vg_replace_malloc.c:530)
==31902== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31902== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31902== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31902== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31902== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31902== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31902== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31902== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31902== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31902== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31902== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31902== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902== Block was alloc'd at
==31902== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31902== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31902== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31902== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31902== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31902== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31902== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31902== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31902== by 0x805E931: main (nginx.c:364)
==31902==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987e34 is 20 bytes inside a block of size 52 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31913== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987f58 is 48 bytes inside a block of size 52 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31913== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987ff4 is 44 bytes inside a block of size 200 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31913== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==31913== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x498800c is 68 bytes inside a block of size 200 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31913== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987e24 is 4 bytes inside a block of size 52 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31913== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987e24 is 4 bytes inside a block of size 52 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31913== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d18 is 0 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d20 is 8 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d18 is 0 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d18 is 0 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d30 is 24 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d24 is 12 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d1c is 4 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d1c is 4 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==31913== Invalid read of size 4
==31913== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==31913== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31913== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31913== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Address 0x4987d3c is 36 bytes inside a block of size 40 free'd
==31913== at 0x40285F2: free (vg_replace_malloc.c:530)
==31913== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31913== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31913== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31913== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31913== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31913== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31913== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31913== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31913== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31913== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31913== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31913== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913== Block was alloc'd at
==31913== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31913== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31913== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31913== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31913== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31913== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31913== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31913== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31913== by 0x805E931: main (nginx.c:364)
==31913==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813D54A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987dec is 20 bytes inside a block of size 52 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31924== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813D553: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987f10 is 48 bytes inside a block of size 52 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31924== by 0x80DC657: ngx_stream_init_session (ngx_stream_handler.c:238)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813D55A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987fac is 44 bytes inside a block of size 200 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31924== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813D561: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==31924== by 0x813D561: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987fc4 is 68 bytes inside a block of size 200 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x8139AFE: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==31924== by 0x8139AFE: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813D574: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987ddc is 4 bytes inside a block of size 52 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31924== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813B47E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987ddc is 4 bytes inside a block of size 52 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==31924== by 0x80DC90E: ngx_stream_init_connection (ngx_stream_handler.c:121)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x813B484: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd0 is 0 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd8 is 8 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd0 is 0 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd0 is 0 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987ce8 is 24 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cdc is 12 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd4 is 4 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cd4 is 4 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==31924== Invalid read of size 4
==31924== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==31924== by 0x813B4AF: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==31924== by 0x813DB30: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==31924== by 0x8139C93: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Address 0x4987cf4 is 36 bytes inside a block of size 40 free'd
==31924== at 0x40285F2: free (vg_replace_malloc.c:530)
==31924== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==31924== by 0x80DC60B: ngx_stream_close_connection (ngx_stream_handler.c:323)
==31924== by 0x813D28C: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==31924== by 0x813DB22: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==31924== by 0x813DB22: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==31924== by 0x813DBC7: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==31924== by 0x81398B8: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==31924== by 0x813996A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==31924== by 0x8139C87: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==31924== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==31924== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==31924== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924== Block was alloc'd at
==31924== at 0x4029679: malloc (vg_replace_malloc.c:299)
==31924== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==31924== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==31924== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==31924== by 0x807D9CE: ngx_event_accept (ngx_event_accept.c:175)
==31924== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==31924== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==31924== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==31924== by 0x805E931: main (nginx.c:364)
==31924==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}

Expected Failures

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

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

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

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

-received: 5
+failed to receive: timeout
-received: world
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8188 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8186 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:10 [error] 32059\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:10 [error] 32059\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:13 [error] 32070\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:13 [error] 32070\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:15 [error] 32081\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:16 [error] 32081\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:18 [error] 32092\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:18 [error] 32092\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:23 [error] 32114\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:24 [error] 32114\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:31 [error] 32147\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:32 [error] 32147\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:36 [error] 32169\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:37 [error] 32169\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:39 [error] 32180\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:39 [error] 32180\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:42 [error] 32191\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:42 [error] 32191\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:44 [error] 32202\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:45 [error] 32202\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:47 [error] 32213\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:47 [error] 32213\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:50 [error] 32224\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:50 [error] 32224\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:52 [error] 32235\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:53 [error] 32235\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:55 [error] 32246\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:55 [error] 32246\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:57 [error] 32257\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:24:58 [error] 32257\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:00 [error] 32268\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:00 [error] 32268\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:06 [error] 32290\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:06 [error] 32290\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:11 [error] 32312\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:11 [error] 32312\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:16 [error] 32334\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:16 [error] 32334\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:21 [error] 32356\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:21 [error] 32356\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:24 [error] 32367\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:24 [error] 32367\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:26 [error] 32378\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:26 [error] 32378\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:29 [error] 32389\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 21:25:29 [error] 32389\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
132-lua-blocks.t nginx: [emerg] unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28

Warnings

Go back to the index page.