(This page was automatically generated by the tools in the opsboy project on 17:39:22 26-Mar-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>
Memchec